Module io.netty5.codec.http
Class WebSocketClientHandshakeCompletionEvent
- java.lang.Object
-
- io.netty5.handler.codec.http.websocketx.WebSocketHandshakeCompletionEvent
-
- io.netty5.handler.codec.http.websocketx.WebSocketClientHandshakeCompletionEvent
-
- All Implemented Interfaces:
ProtocolEvent
public final class WebSocketClientHandshakeCompletionEvent extends WebSocketHandshakeCompletionEvent
A websocket handshake was completed on the client-side.
-
-
Constructor Summary
Constructors Constructor Description WebSocketClientHandshakeCompletionEvent(WebSocketVersion version)
Create a new event that indicate a successful websocket handshake.WebSocketClientHandshakeCompletionEvent(Throwable cause)
Create a new event that indicate a failed websocket handshake.
-
Method Summary
-
Methods inherited from class io.netty5.handler.codec.http.websocketx.WebSocketHandshakeCompletionEvent
cause, toString, version
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty5.handler.codec.ProtocolEvent
isFailed, isSuccess
-
-
-
-
Constructor Detail
-
WebSocketClientHandshakeCompletionEvent
public WebSocketClientHandshakeCompletionEvent(WebSocketVersion version)
Create a new event that indicate a successful websocket handshake.- Parameters:
version
- theWebSocketVersion
that was used.
-
WebSocketClientHandshakeCompletionEvent
public WebSocketClientHandshakeCompletionEvent(Throwable cause)
Create a new event that indicate a failed websocket handshake.- Parameters:
cause
- the cause of the failure.
-
-