|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.websockets.WebSocketEngine
public class WebSocketEngine
WebSockets engine implementation (singlton), which handles WebSocketApplications
registration, responsible for client and server handshake validation.
WebSocket,
WebSocketApplication| Constructor Summary | |
|---|---|
WebSocketEngine()
|
|
| Method Summary | |
|---|---|
static WebSocketEngine |
getEngine()
Get WebSocketEngine instance (singleton). |
WebSocketApplication |
lookupApplication(String name)
Get the WebSocketApplication, associated with the passed name. |
void |
registerApplication(String name,
WebSocketApplication app)
Register the WebSocketApplication and associate it with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebSocketEngine()
| Method Detail |
|---|
public static WebSocketEngine getEngine()
public WebSocketApplication lookupApplication(String name)
WebSocketApplication, associated with the passed name.
Name is usually taken as URL's path.
name - the WebSocketApplication name, usually represented by URL's path.
WebSocketApplication.
public void registerApplication(String name,
WebSocketApplication app)
WebSocketApplication and associate it with the given name.
Name is usually taken as URL's path.
name - WebSocketApplication name (usually taken as URL's path).app - WebSocketApplication
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||