Interface ServerEndpointConfig
- All Superinterfaces:
EndpointConfig
Provides configuration information for WebSocket endpoints published to a server. Applications may provide their own
implementation or use
ServerEndpointConfig.Builder.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder for creatingServerEndpointConfiginstances.static classProvides a mechanism to customize the WebSocket handshake for server endpoints. -
Method Summary
Modifier and TypeMethodDescriptionReturns the configurator for this server endpoint.Class<?> Returns the class of the endpoint.Returns the list of extensions supported by this endpoint.getPath()Returns the path at which this WebSocket server endpoint has been registered.Returns the list of sub-protocols supported by this endpoint.Methods inherited from interface EndpointConfig
getDecoders, getEncoders, getUserProperties
-
Method Details
-
getEndpointClass
-
getPath
String getPath()Returns the path at which this WebSocket server endpoint has been registered. It may be a path or a level 0 URI template.- Returns:
- The registered path
-
getSubprotocols
-
getExtensions
-
getConfigurator
ServerEndpointConfig.Configurator getConfigurator()Returns the configurator for this server endpoint.- Returns:
- The configurator
-