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