Interface TyrusServerEndpointConfig

  • All Superinterfaces:
    EndpointConfig, jakarta.websocket.server.ServerEndpointConfig

    public interface TyrusServerEndpointConfig
    extends jakarta.websocket.server.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:
    MaxSessions
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  TyrusServerEndpointConfig.Builder
      The TyrusServerEndpointConfig.Builder is a class used for creating TyrusServerEndpointConfig.Builder objects for the purposes of deploying a server endpoint.
      • Nested classes/interfaces inherited from interface jakarta.websocket.server.ServerEndpointConfig

        jakarta.websocket.server.ServerEndpointConfig.Configurator
    • Method Detail

      • getMaxSessions

        int getMaxSessions()
        Returns configured maximal number of open sessions.
        Returns:
        tne maximal number of open sessions.