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