Package org.glassfish.tyrus.core
Interface TyrusServerEndpointConfig
-
- All Superinterfaces:
EndpointConfig
,ServerEndpointConfig
public interface TyrusServerEndpointConfig extends ServerEndpointConfig
ConfigurationServerEndpointConfig
enhanced to offer tyrus specific attributes like maxSessions. Declarative way to define maxSessions is also available using annotationMaxSessions
.- Author:
- Ondrej Kosatka (ondrej.kosatka at oracle.com)
- See Also:
MaxSessions
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TyrusServerEndpointConfig.Builder
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 javax.websocket.server.ServerEndpointConfig
ServerEndpointConfig.Configurator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxSessions()
Returns configured maximal number of open sessions.-
Methods inherited from interface javax.websocket.EndpointConfig
getDecoders, getEncoders, getUserProperties
-
Methods inherited from interface javax.websocket.server.ServerEndpointConfig
getConfigurator, getEndpointClass, getExtensions, getPath, getSubprotocols
-
-