public final class WebSocketServerHandshakeException extends WebSocketHandshakeException
IMPORTANT: This exception does not contain any ReferenceCounted
fields
e.g. FullHttpRequest
, so no special treatment is needed.
Constructor and Description |
---|
WebSocketServerHandshakeException(String message) |
WebSocketServerHandshakeException(String message,
HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
request()
Returns a
request if exception occurs during request validation otherwise null . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WebSocketServerHandshakeException(String message)
public WebSocketServerHandshakeException(String message, HttpRequest httpRequest)
public HttpRequest request()
request
if exception occurs during request validation otherwise null
.Copyright © 2008–2024 The Netty Project. All rights reserved.