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
ProtocolEventthat indicate the completion of a websocket handshake.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwablecause()StringtoString()WebSocketVersionversion()Return theWebSocketVersionof the handshake ornullin case of a failure.
-
-
-
Method Detail
-
cause
public final Throwable cause()
- Specified by:
causein interfaceio.netty5.handler.codec.ProtocolEvent
-
version
public final WebSocketVersion version()
Return theWebSocketVersionof the handshake ornullin case of a failure.- Returns:
- the version.
-
-