Package org.glassfish.tyrus.core
Interface TyrusServerEndpointConfig
-
- All Superinterfaces:
EndpointConfig,jakarta.websocket.server.ServerEndpointConfig
public interface TyrusServerEndpointConfig extends jakarta.websocket.server.ServerEndpointConfigConfigurationServerEndpointConfigenhanced to offer tyrus specific attributes like maxSessions. Declarative way to define maxSessions is also available using annotationMaxSessions.- Author:
- Ondrej Kosatka
- See Also:
MaxSessions
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTyrusServerEndpointConfig.BuilderThe TyrusServerEndpointConfig.Builder is a class used for creatingTyrusServerEndpointConfig.Builderobjects for the purposes of deploying a server endpoint.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxSessions()Returns configured maximal number of open sessions.-
Methods inherited from interface jakarta.websocket.EndpointConfig
getDecoders, getEncoders, getUserProperties
-
-