Package io.undertow.websockets.jsr
Class ConfiguredServerEndpoint
- java.lang.Object
-
- io.undertow.websockets.jsr.SessionContainer
-
- io.undertow.websockets.jsr.ConfiguredServerEndpoint
-
public class ConfiguredServerEndpoint extends SessionContainer
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description ConfiguredServerEndpoint(jakarta.websocket.server.ServerEndpointConfig endpointConfiguration, InstanceFactory<?> endpointFactory, PathTemplate pathTemplate, EncodingFactory encodingFactory)ConfiguredServerEndpoint(jakarta.websocket.server.ServerEndpointConfig endpointConfiguration, InstanceFactory<?> endpointFactory, PathTemplate pathTemplate, EncodingFactory encodingFactory, AnnotatedEndpointFactory annotatedEndpointFactory, List<jakarta.websocket.Extension> installed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedEndpointFactorygetAnnotatedEndpointFactory()EncodingFactorygetEncodingFactory()jakarta.websocket.server.ServerEndpointConfiggetEndpointConfiguration()InstanceFactory<?>getEndpointFactory()List<jakarta.websocket.Extension>getExtensions()Return the websocket extensions configured.PathTemplategetPathTemplate()-
Methods inherited from class io.undertow.websockets.jsr.SessionContainer
addOpenSession, awaitClose, getOpenSessions, notifyClosed, removeOpenSession
-
-
-
-
Constructor Detail
-
ConfiguredServerEndpoint
public ConfiguredServerEndpoint(jakarta.websocket.server.ServerEndpointConfig endpointConfiguration, InstanceFactory<?> endpointFactory, PathTemplate pathTemplate, EncodingFactory encodingFactory, AnnotatedEndpointFactory annotatedEndpointFactory, List<jakarta.websocket.Extension> installed)
-
ConfiguredServerEndpoint
public ConfiguredServerEndpoint(jakarta.websocket.server.ServerEndpointConfig endpointConfiguration, InstanceFactory<?> endpointFactory, PathTemplate pathTemplate, EncodingFactory encodingFactory)
-
-
Method Detail
-
getEndpointConfiguration
public jakarta.websocket.server.ServerEndpointConfig getEndpointConfiguration()
-
getEndpointFactory
public InstanceFactory<?> getEndpointFactory()
-
getPathTemplate
public PathTemplate getPathTemplate()
-
getEncodingFactory
public EncodingFactory getEncodingFactory()
-
getAnnotatedEndpointFactory
public AnnotatedEndpointFactory getAnnotatedEndpointFactory()
-
getExtensions
public List<jakarta.websocket.Extension> getExtensions()
Return the websocket extensions configured.- Returns:
- the list of extensions, the empty list if none.
-
-