Top Description Fields Constructors Methods
io.netty.handler.codec.http.websocketx

public final Class WebSocketClientHandshakeException

extends WebSocketHandshakeException
Class Inheritance
Imports
io.netty.handler.codec.http.DefaultHttpResponse, .FullHttpResponse, .HttpResponse, io.netty.util.ReferenceCounted

Client exception during handshaking process.

Important Note

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

Field Summary

Modifier and TypeField and Description
private final HttpResponse
private static final long

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public HttpResponse
response()

Returns a response if exception occurs during response validation otherwise null.

Field Detail

responseback to summary
private final HttpResponse response
serialVersionUIDback to summary
private static final long serialVersionUID

Hides io.netty.handler.codec.http.websocketx.WebSocketHandshakeException.serialVersionUID.

Constructor Detail

WebSocketClientHandshakeExceptionback to summary
public WebSocketClientHandshakeException(String message)
WebSocketClientHandshakeExceptionback to summary
public WebSocketClientHandshakeException(String message, HttpResponse httpResponse)

Method Detail

responseback to summary
public HttpResponse response()

Returns a response if exception occurs during response validation otherwise null.