Top Description Fields Constructors Methods
org.glassfish.tyrus.core

pack-priv final Class DefaultTyrusServerEndpointConfig

extends ServerEndpointConfigWrapper
implements TyrusServerEndpointConfig
Class Inheritance
All Implemented Interfaces
org.glassfish.tyrus.core.TyrusServerEndpointConfig, jakarta.websocket.server.ServerEndpointConfig, jakarta.websocket.EndpointConfig
Imports
jakarta.websocket.server.ServerEndpointConfig

Default tyrus-specific implementation of TyrusServerEndpointConfig.
Author
Ondrej Kosatka

Field Summary

Modifier and TypeField and Description
private int
Inherited from org.glassfish.tyrus.core.ServerEndpointConfigWrapper:
wrapped

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
getMaxSessions()

Implements org.glassfish.tyrus.core.TyrusServerEndpointConfig.getMaxSessions.

Returns configured maximal number of open sessions.

Inherited from org.glassfish.tyrus.core.ServerEndpointConfigWrapper:
getConfiguratorgetDecodersgetEncodersgetEndpointClassgetExtensionsgetPathgetSubprotocolsgetUserPropertiesgetWrapped

Field Detail

maxSessionsback to summary
private int maxSessions

Constructor Detail

DefaultTyrusServerEndpointConfigback to summary
pack-priv DefaultTyrusServerEndpointConfig(ServerEndpointConfig config, int maxSessions)

Method Detail

getMaxSessionsback to summary
public int getMaxSessions()

Implements org.glassfish.tyrus.core.TyrusServerEndpointConfig.getMaxSessions.

Doc from org.glassfish.tyrus.core.TyrusServerEndpointConfig.getMaxSessions.

Returns configured maximal number of open sessions.

Returns:int

tne maximal number of open sessions.

Annotations
@Override