public class JsrCreator extends Object implements WebSocketCreator
Modifier and Type | Field and Description |
---|---|
static String |
PROP_LOCAL_ADDRESS |
static String |
PROP_REMOTE_ADDRESS |
Constructor and Description |
---|
JsrCreator(ServerEndpointMetadata metadata,
ExtensionFactory extensionFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
createWebSocket(ServletUpgradeRequest req,
ServletUpgradeResponse resp)
Create a websocket from the incoming request.
|
String |
toString() |
public static final String PROP_REMOTE_ADDRESS
public static final String PROP_LOCAL_ADDRESS
public JsrCreator(ServerEndpointMetadata metadata, ExtensionFactory extensionFactory)
public Object createWebSocket(ServletUpgradeRequest req, ServletUpgradeResponse resp)
WebSocketCreator
createWebSocket
in interface WebSocketCreator
req
- the request detailsresp
- the response detailsCopyright © 1995-2015 Webtide. All Rights Reserved.