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. |
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.
|
getDecoders, getEncoders, getUserProperties
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.Copyright © 2019 JBoss by Red Hat. All rights reserved.