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, io.undertow.servlet.api.InstanceFactory<?> endpointFactory, io.undertow.util.PathTemplate pathTemplate, EncodingFactory encodingFactory)
ConfiguredServerEndpoint(jakarta.websocket.server.ServerEndpointConfig endpointConfiguration, io.undertow.servlet.api.InstanceFactory<?> endpointFactory, io.undertow.util.PathTemplate pathTemplate, EncodingFactory encodingFactory, AnnotatedEndpointFactory annotatedEndpointFactory, java.util.List<jakarta.websocket.Extension> installed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedEndpointFactory
getAnnotatedEndpointFactory()
EncodingFactory
getEncodingFactory()
jakarta.websocket.server.ServerEndpointConfig
getEndpointConfiguration()
io.undertow.servlet.api.InstanceFactory<?>
getEndpointFactory()
java.util.List<jakarta.websocket.Extension>
getExtensions()
Return the websocket extensions configured.io.undertow.util.PathTemplate
getPathTemplate()
-
Methods inherited from class io.undertow.websockets.jsr.SessionContainer
addOpenSession, awaitClose, getOpenSessions, notifyClosed, removeOpenSession
-
-
-
-
Constructor Detail
-
ConfiguredServerEndpoint
public ConfiguredServerEndpoint(jakarta.websocket.server.ServerEndpointConfig endpointConfiguration, io.undertow.servlet.api.InstanceFactory<?> endpointFactory, io.undertow.util.PathTemplate pathTemplate, EncodingFactory encodingFactory, AnnotatedEndpointFactory annotatedEndpointFactory, java.util.List<jakarta.websocket.Extension> installed)
-
ConfiguredServerEndpoint
public ConfiguredServerEndpoint(jakarta.websocket.server.ServerEndpointConfig endpointConfiguration, io.undertow.servlet.api.InstanceFactory<?> endpointFactory, io.undertow.util.PathTemplate pathTemplate, EncodingFactory encodingFactory)
-
-
Method Detail
-
getEndpointConfiguration
public jakarta.websocket.server.ServerEndpointConfig getEndpointConfiguration()
-
getEndpointFactory
public io.undertow.servlet.api.InstanceFactory<?> getEndpointFactory()
-
getPathTemplate
public io.undertow.util.PathTemplate getPathTemplate()
-
getEncodingFactory
public EncodingFactory getEncodingFactory()
-
getAnnotatedEndpointFactory
public AnnotatedEndpointFactory getAnnotatedEndpointFactory()
-
getExtensions
public java.util.List<jakarta.websocket.Extension> getExtensions()
Return the websocket extensions configured.- Returns:
- the list of extensions, the empty list if none.
-
-