Class WebSocketServerHandshakeException

All Implemented Interfaces:
Serializable

public final class WebSocketServerHandshakeException extends WebSocketHandshakeException
Server exception during handshaking process.

IMPORTANT: This exception does not contain any ReferenceCounted fields e.g. FullHttpRequest, so no special treatment is needed.

See Also:
  • Field Details

  • Constructor Details

    • WebSocketServerHandshakeException

      public WebSocketServerHandshakeException(String message)
    • WebSocketServerHandshakeException

      public WebSocketServerHandshakeException(String message, HttpRequest httpRequest)
  • Method Details

    • request

      public HttpRequest request()
      Returns a request if exception occurs during request validation otherwise null.