Class AbstractWebsocketDefinition<T extends BaseWebsocket>

All Implemented Interfaces:
WebSocket<T>
Direct Known Subclasses:
LoggingWebsocketDefinition, ModelValidationWebsocketDefinition, SqlLoggingWebsocketDefinition

public abstract class AbstractWebsocketDefinition<T extends BaseWebsocket> extends AnonymousWebsocket<T>
  • Field Details

  • Constructor Details

  • Method Details

    • doCreateWebSocketInstance

      protected T doCreateWebSocketInstance()
      Specified by:
      doCreateWebSocketInstance in class SecureWebsocket<T extends BaseWebsocket>
    • doCreateWebSocketInstance

      protected abstract T doCreateWebSocketInstance(int idleTimeoutSeconds)
    • getName

      protected abstract String getName()
    • getPath

      public String getPath()
      Description copied from interface: WebSocket
      The relative path where this endpoint should be published. Should start with '/nice2/websocket/' for consistency reasons.