Top Description Constructors Methods
io.netty5.handler.codec.http.websocketx

public final Class WebSocketClientHandshakeCompletionEvent

extends WebSocketHandshakeCompletionEvent
Class Inheritance

A websocket handshake was completed on the client-side.

Constructor Summary

AccessConstructor and Description
public
WebSocketClientHandshakeCompletionEvent(WebSocketVersion
the WebSocketVersion that was used.
version
)

Create a new event that indicate a successful websocket handshake.

public
WebSocketClientHandshakeCompletionEvent(Throwable
the cause of the failure.
cause
)

Create a new event that indicate a failed websocket handshake.

Method Summary

Inherited from io.netty5.handler.codec.http.websocketx.WebSocketHandshakeCompletionEvent:
causetoStringversion

Constructor Detail

WebSocketClientHandshakeCompletionEventback to summary
public WebSocketClientHandshakeCompletionEvent(WebSocketVersion version)

Create a new event that indicate a successful websocket handshake.

Parameters
version:WebSocketVersion

the WebSocketVersion that was used.

WebSocketClientHandshakeCompletionEventback to summary
public WebSocketClientHandshakeCompletionEvent(Throwable cause)

Create a new event that indicate a failed websocket handshake.

Parameters
cause:Throwable

the cause of the failure.