Class JsrCreator
java.lang.Object
org.eclipse.jetty.websocket.jsr356.server.JsrCreator
- All Implemented Interfaces:
WebSocketCreator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WebSocketContainerScope
private final ExtensionFactory
private static final org.eclipse.jetty.util.log.Logger
private final ServerEndpointMetadata
static final String
static final String
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionJsrCreator
(WebSocketContainerScope containerScope, ServerEndpointMetadata metadata, ExtensionFactory extensionFactory) -
Method Summary
-
Field Details
-
PROP_REMOTE_ADDRESS
- See Also:
-
PROP_LOCAL_ADDRESS
- See Also:
-
PROP_LOCALES
- See Also:
-
LOG
private static final org.eclipse.jetty.util.log.Logger LOG -
containerScope
-
metadata
-
extensionFactory
-
-
Constructor Details
-
JsrCreator
public JsrCreator(WebSocketContainerScope containerScope, ServerEndpointMetadata metadata, ExtensionFactory extensionFactory)
-
-
Method Details
-
createWebSocket
Description copied from interface:WebSocketCreator
Create a websocket from the incoming request.- Specified by:
createWebSocket
in interfaceWebSocketCreator
- Parameters:
req
- the request detailsresp
- the response details- Returns:
- a websocket object to use, or null if no websocket should be created from this request.
-
toString
-