public static enum ApplicationProtocolConfig.Protocol extends java.lang.Enum<ApplicationProtocolConfig.Protocol>
Enum Constant and Description |
---|
ALPN |
NONE |
NPN |
NPN_AND_ALPN |
Modifier and Type | Method and Description |
---|---|
static ApplicationProtocolConfig.Protocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationProtocolConfig.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationProtocolConfig.Protocol NONE
public static final ApplicationProtocolConfig.Protocol NPN
public static final ApplicationProtocolConfig.Protocol ALPN
public static final ApplicationProtocolConfig.Protocol NPN_AND_ALPN
public static ApplicationProtocolConfig.Protocol[] values()
for (ApplicationProtocolConfig.Protocol c : ApplicationProtocolConfig.Protocol.values()) System.out.println(c);
public static ApplicationProtocolConfig.Protocol valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2008–2018 The Netty Project. All rights reserved.