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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classThe TyrusServerEndpointConfig.Builder is a class used for creatingTyrusServerEndpointConfig.Builderobjects for the purposes of deploying a server endpoint.Nested classes/interfaces inherited from interface jakarta.websocket.server.ServerEndpointConfig
ServerEndpointConfig.Configurator -
Method Summary
Modifier and TypeMethodDescriptionintReturns configured maximal number of open sessions.Methods inherited from interface jakarta.websocket.EndpointConfig
getDecoders, getEncoders, getUserPropertiesMethods 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.
-