Enum WebSocketClientProtocolHandler.ClientHandshakeStateEvent
java.lang.Object
java.lang.Enum<WebSocketClientProtocolHandler.ClientHandshakeStateEvent>
io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler.ClientHandshakeStateEvent
- All Implemented Interfaces:
Serializable
,Comparable<WebSocketClientProtocolHandler.ClientHandshakeStateEvent>
,java.lang.constant.Constable
- Enclosing class:
WebSocketClientProtocolHandler
public static enum WebSocketClientProtocolHandler.ClientHandshakeStateEvent
extends Enum<WebSocketClientProtocolHandler.ClientHandshakeStateEvent>
Events that are fired to notify about handshake status
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Handshake was complete successful and so the channel was upgraded to websocketsThe Handshake was started but the server did not response yet to the requestThe Handshake was timed out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HANDSHAKE_TIMEOUT
The Handshake was timed out -
HANDSHAKE_ISSUED
The Handshake was started but the server did not response yet to the request -
HANDSHAKE_COMPLETE
The Handshake was complete successful and so the channel was upgraded to websockets
-
-
Constructor Details
-
ClientHandshakeStateEvent
private ClientHandshakeStateEvent()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-