Package org.glassfish.tyrus.core
Interface TyrusServerEndpointConfig
- All Superinterfaces:
EndpointConfig
,ServerEndpointConfig
Configuration
ServerEndpointConfig
enhanced
to offer tyrus specific attributes like maxSessions.
Declarative way to define maxSessions is also available using
annotation MaxSessions
.- Author:
- Ondrej Kosatka
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
The TyrusServerEndpointConfig.Builder is a class used for creatingTyrusServerEndpointConfig.Builder
objects for the purposes of deploying a server endpoint.Nested classes/interfaces inherited from interface jakarta.websocket.server.ServerEndpointConfig
ServerEndpointConfig.Configurator
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns configured maximal number of open sessions.Methods inherited from interface jakarta.websocket.EndpointConfig
getDecoders, getEncoders, getUserProperties
Methods inherited from interface jakarta.websocket.server.ServerEndpointConfig
getConfigurator, getEndpointClass, getExtensions, getPath, getSubprotocols
-
Method Details
-
getMaxSessions
int getMaxSessions()Returns configured maximal number of open sessions.- Returns:
- tne maximal number of open sessions.
-