public interface ServerEndpointConfig extends EndpointConfig
ServerEndpointConfig.Builder
. Certain configuration operations can be
customized by providing a ServerEndpointConfig.Configurator
Modifier and Type | Interface and Description |
---|---|
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 class may be extended 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.
|
Modifier and Type | Method and Description |
---|---|
ServerEndpointConfig.Configurator |
getConfigurator()
Return the
ServerEndpointConfig.Configurator this configuration is using. |
java.lang.Class<?> |
getEndpointClass()
Returns the Class of the endpoint this configuration is configuring.
|
java.util.List<Extension> |
getExtensions()
Return the websocket extensions configured.
|
java.lang.String |
getPath()
Return the path for this endpoint configuration.
|
java.util.List<java.lang.String> |
getSubprotocols()
Return the websocket subprotocols configured.
|
getDecoders, getEncoders, getUserProperties
java.lang.Class<?> getEndpointClass()
java.lang.String getPath()
java.util.List<java.lang.String> getSubprotocols()
java.util.List<Extension> getExtensions()
ServerEndpointConfig.Configurator getConfigurator()
ServerEndpointConfig.Configurator
this configuration is using. If none was set by calling
ServerEndpointConfig.Builder.configurator(jakarta.websocket.server.ServerEndpointConfig.Configurator)
this
methods returns the platform default configurator.