public static enum WebSocketServerProtocolHandler.ServerHandshakeStateEvent extends java.lang.Enum<WebSocketServerProtocolHandler.ServerHandshakeStateEvent>
Enum Constant and Description |
---|
HANDSHAKE_COMPLETE
已过时。
有利于
WebSocketServerProtocolHandler.HandshakeComplete 类,它提供了有关握手的额外信息
|
Modifier and Type | Method and Description |
---|---|
static WebSocketServerProtocolHandler.ServerHandshakeStateEvent |
valueOf(java.lang.String name)
以指定名称返回此类型的枚举常量。
|
static WebSocketServerProtocolHandler.ServerHandshakeStateEvent[] |
values()
按照声明的顺序返回包含此枚举类型常量的数组。
|
@Deprecated public static final WebSocketServerProtocolHandler.ServerHandshakeStateEvent HANDSHAKE_COMPLETE
WebSocketServerProtocolHandler.HandshakeComplete
类,它提供了有关握手的额外信息
public static WebSocketServerProtocolHandler.ServerHandshakeStateEvent[] values()
for (WebSocketServerProtocolHandler.ServerHandshakeStateEvent c : WebSocketServerProtocolHandler.ServerHandshakeStateEvent.values())
System.out.println(c);
public static WebSocketServerProtocolHandler.ServerHandshakeStateEvent valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。
java.lang.IllegalArgumentException
- 如果此枚举类型没有指定名称的常量
java.lang.NullPointerException
- 如果参数为null
Copyright © 2008–2018 The Netty Project. All rights reserved.