public static enum ApplicationProtocolConfig.SelectedListenerFailureBehavior extends Enum<ApplicationProtocolConfig.SelectedListenerFailureBehavior>
Enum Constant and Description |
---|
ACCEPT
If the peer who is notified what protocol was selected determines the selection was not matched, or the peer
didn't advertise support for the TLS extension then the handshake will continue and the application protocol
is assumed to be accepted.
|
CHOOSE_MY_LAST_PROTOCOL
If the peer who is notified what protocol was selected determines the selection was not matched, or the peer
didn't advertise support for the TLS extension then the handshake will continue assuming the last protocol
supported by this peer is used.
|
FATAL_ALERT
If the peer who is notified what protocol was selected determines the selection was not matched, or the peer
didn't advertise support for the TLS extension then the handshake will be failed with a fatal alert.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationProtocolConfig.SelectedListenerFailureBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationProtocolConfig.SelectedListenerFailureBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationProtocolConfig.SelectedListenerFailureBehavior ACCEPT
public static final ApplicationProtocolConfig.SelectedListenerFailureBehavior FATAL_ALERT
public static final ApplicationProtocolConfig.SelectedListenerFailureBehavior CHOOSE_MY_LAST_PROTOCOL
public static ApplicationProtocolConfig.SelectedListenerFailureBehavior[] values()
for (ApplicationProtocolConfig.SelectedListenerFailureBehavior c : ApplicationProtocolConfig.SelectedListenerFailureBehavior.values()) System.out.println(c);
public static ApplicationProtocolConfig.SelectedListenerFailureBehavior 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–2024 The Netty Project. All rights reserved.