public static enum WebSocketClientProtocolHandler.ClientHandshakeStateEvent extends Enum<WebSocketClientProtocolHandler.ClientHandshakeStateEvent>
Enum Constant and Description |
---|
HANDSHAKE_COMPLETE
The Handshake was complete succesful and so the channel was upgraded to websockets
|
HANDSHAKE_ISSUED
The Handshake was started but the server did not response yet to the request
|
Modifier and Type | Method and Description |
---|---|
static WebSocketClientProtocolHandler.ClientHandshakeStateEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketClientProtocolHandler.ClientHandshakeStateEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketClientProtocolHandler.ClientHandshakeStateEvent HANDSHAKE_ISSUED
public static final WebSocketClientProtocolHandler.ClientHandshakeStateEvent HANDSHAKE_COMPLETE
public static WebSocketClientProtocolHandler.ClientHandshakeStateEvent[] values()
for (WebSocketClientProtocolHandler.ClientHandshakeStateEvent c : WebSocketClientProtocolHandler.ClientHandshakeStateEvent.values()) System.out.println(c);
public static WebSocketClientProtocolHandler.ClientHandshakeStateEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2017 The Netty Project. All rights reserved.