Module io.netty5.codec.http
Class WebSocketHandshakeCompletionEvent
- java.lang.Object
-
- io.netty5.handler.codec.http.websocketx.WebSocketHandshakeCompletionEvent
-
- All Implemented Interfaces:
io.netty5.handler.codec.ProtocolEvent
- Direct Known Subclasses:
WebSocketClientHandshakeCompletionEvent
,WebSocketServerHandshakeCompletionEvent
public abstract class WebSocketHandshakeCompletionEvent extends Object implements io.netty5.handler.codec.ProtocolEvent
ProtocolEvent
that indicate the completion of a websocket handshake.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
cause()
String
toString()
WebSocketVersion
version()
Return theWebSocketVersion
of the handshake ornull
in case of a failure.
-
-
-
Method Detail
-
cause
public final Throwable cause()
- Specified by:
cause
in interfaceio.netty5.handler.codec.ProtocolEvent
-
version
public final WebSocketVersion version()
Return theWebSocketVersion
of the handshake ornull
in case of a failure.- Returns:
- the version.
-
-