|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerEndpointConfig
The ServerEndpointConfig is a special kind of endpoint configuration object that contains
web socket configuration information specific only to server endpoints. For developers
deploying programmatic endpoints, ServerEndpointConfig objects
can be created using a ServerEndpointConfig.Builder
. Certain configuration
operations can be customized by providing a ServerEndpointConfig.Configurator
Nested Class Summary | |
---|---|
static class |
ServerEndpointConfig.Builder
The ServerEndpointConfig.Builder is a class used for creating ServerEndpointConfig.Builder objects for the purposes of
deploying a server endpoint. |
static class |
ServerEndpointConfig.Configurator
The ServerEndpointConfig.Configurator interface may be implemented by developers who want to provide custom configuration algorithms, such as intercepting the opening handshake, or providing arbitrary methods and algorithms that can be accessed from each endpoint instance configured with this configurator. |
Method Summary | |
---|---|
ServerEndpointConfig.Configurator |
getConfigurator()
Return the ServerEndpointConfig.Configurator this configuration
is using. |
Class<?> |
getEndpointClass()
Returns the Class of the endpoint this configuration is configuring. |
List<Extension> |
getExtensions()
Return the websocket extensions configured. |
String |
getPath()
Return the path for this endpoint configuration. |
List<String> |
getSubprotocols()
Return the websocket subprotocols configured. |
Methods inherited from interface javax.websocket.EndpointConfig |
---|
getDecoders, getEncoders, getUserProperties |
Method Detail |
---|
Class<?> getEndpointClass()
String getPath()
List<String> getSubprotocols()
List<Extension> getExtensions()
ServerEndpointConfig.Configurator getConfigurator()
ServerEndpointConfig.Configurator
this configuration
is using. If none was set by calling
ServerEndpointConfig.Builder.configurator(javax.websocket.server.ServerEndpointConfig.Configurator)
this methods returns the platform default configurator.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |