public static enum ApplicationProtocolConfig.SelectorFailureBehavior extends Enum<ApplicationProtocolConfig.SelectorFailureBehavior>
Enum Constant and Description |
---|
CHOOSE_MY_LAST_PROTOCOL |
FATAL_ALERT |
NO_ADVERTISE |
Modifier and Type | Method and Description |
---|---|
static ApplicationProtocolConfig.SelectorFailureBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationProtocolConfig.SelectorFailureBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationProtocolConfig.SelectorFailureBehavior FATAL_ALERT
public static final ApplicationProtocolConfig.SelectorFailureBehavior NO_ADVERTISE
public static final ApplicationProtocolConfig.SelectorFailureBehavior CHOOSE_MY_LAST_PROTOCOL
public static ApplicationProtocolConfig.SelectorFailureBehavior[] values()
for (ApplicationProtocolConfig.SelectorFailureBehavior c : ApplicationProtocolConfig.SelectorFailureBehavior.values()) System.out.println(c);
public static ApplicationProtocolConfig.SelectorFailureBehavior 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–2015 The Netty Project. All rights reserved.