Package org.glassfish.tyrus.core
Class ServerEndpointConfigWrapper
java.lang.Object
org.glassfish.tyrus.core.ServerEndpointConfigWrapper
- All Implemented Interfaces:
 EndpointConfig,ServerEndpointConfig
A public class that holds a wrapped ServerEndpointConfig.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.websocket.server.ServerEndpointConfig
ServerEndpointConfig.Builder, ServerEndpointConfig.Configurator - 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionReturn theServerEndpointConfig.Configuratorthis configuration is using.Return the Decoder implementation classes configured.Return the Encoder implementation classes configured.Class<?> Returns the Class of the endpoint this configuration is configuring.Return the websocket extensions configured.getPath()Return the path for this endpoint configuration.Return the websocket subprotocols configured.This method returns a modifiable Map that the developer may use to store application specific information relating to the endpoint that uses this configuration instance.Get the wrappedServerEndpointConfig. 
- 
Field Details
- 
wrapped
 
 - 
 - 
Method Details
- 
getEndpointClass
Description copied from interface:ServerEndpointConfigReturns the Class of the endpoint this configuration is configuring. If the endpoint is an annotated endpoint, the value is the class of the Java class annotated with @ServerEndpoint. if the endpoint is a programmatic, the value is the class of the subclass of Endpoint.- Specified by:
 getEndpointClassin interfaceServerEndpointConfig- Returns:
 - the class of the endpoint, annotated or programmatic.
 
 - 
getPath
Description copied from interface:ServerEndpointConfigReturn the path for this endpoint configuration. The path is the URI or URI-template (level 1) relative to the websocket root of the server to which the endpoint using this configuration will be mapped. The path is always non-null and always begins with a leading "/".- Specified by:
 getPathin interfaceServerEndpointConfig- Returns:
 - the relative path for this configuration.
 
 - 
getSubprotocols
Description copied from interface:ServerEndpointConfigReturn the websocket subprotocols configured.- Specified by:
 getSubprotocolsin interfaceServerEndpointConfig- Returns:
 - the list of subprotocols, the empty list if none
 
 - 
getExtensions
Description copied from interface:ServerEndpointConfigReturn the websocket extensions configured.- Specified by:
 getExtensionsin interfaceServerEndpointConfig- Returns:
 - the list of extensions, the empty list if none.
 
 - 
getConfigurator
Description copied from interface:ServerEndpointConfigReturn theServerEndpointConfig.Configuratorthis configuration is using. If none was set by callingServerEndpointConfig.Builder.configurator(jakarta.websocket.server.ServerEndpointConfig.Configurator)this methods returns the platform default configurator.- Specified by:
 getConfiguratorin interfaceServerEndpointConfig- Returns:
 - the configurator in use.
 
 - 
getEncoders
Description copied from interface:EndpointConfigReturn the Encoder implementation classes configured. These will be instantiated by the container to encode custom objects passed into the send() methods on remote endpoints.- Specified by:
 getEncodersin interfaceEndpointConfig- Returns:
 - the encoder implementation classes, an empty list if none.
 
 - 
getDecoders
Description copied from interface:EndpointConfigReturn the Decoder implementation classes configured. These will be instantiated by the container to decode incoming messages into the expected custom objects onMessageHandler.Whole.onMessage(Object)callbacks.- Specified by:
 getDecodersin interfaceEndpointConfig- Returns:
 - the decoder implementation classes, the empty list if none.
 
 - 
getUserProperties
Description copied from interface:EndpointConfigThis method returns a modifiable Map that the developer may use to store application specific information relating to the endpoint that uses this configuration instance. Web socket applications running on distributed implementations of the web container should make any application specific objects stored here java.io.Serializable, or the object may not be recreated after a failover.- Specified by:
 getUserPropertiesin interfaceEndpointConfig- Returns:
 - a modifiable Map of application data.
 
 - 
getWrapped
Get the wrappedServerEndpointConfig.- Returns:
 - the wrapped 
ServerEndpointConfig. 
 
 -