public static enum ApplicationProtocolConfig.Protocol extends Enum<ApplicationProtocolConfig.Protocol>
Enum Constant and Description |
---|
ALPN |
NONE |
NPN |
NPN_AND_ALPN |
Modifier and Type | Method and Description |
---|---|
static ApplicationProtocolConfig.Protocol |
valueOf(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(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.