public final class WebSocketClientHandshakeException extends WebSocketHandshakeException
IMPORTANT: This exception does not contain any ReferenceCounted
fields
e.g. FullHttpResponse
, so no special treatment is needed.
构造器和说明 |
---|
WebSocketClientHandshakeException(java.lang.String message) |
WebSocketClientHandshakeException(java.lang.String message,
HttpResponse httpResponse) |
限定符和类型 | 方法和说明 |
---|---|
HttpResponse |
response()
Returns a
response if exception occurs during response validation otherwise null . |
public WebSocketClientHandshakeException(java.lang.String message)
public WebSocketClientHandshakeException(java.lang.String message, HttpResponse httpResponse)
public HttpResponse response()
response
if exception occurs during response validation otherwise null
.