public static enum BootstrapConfig.SSLVerifyMode extends Enum<BootstrapConfig.SSLVerifyMode>
Modifier and Type | Method and Description |
---|---|
static BootstrapConfig.SSLVerifyMode |
fromValue(String value) |
String |
toString() |
static BootstrapConfig.SSLVerifyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BootstrapConfig.SSLVerifyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BootstrapConfig.SSLVerifyMode NONE
public static final BootstrapConfig.SSLVerifyMode PEER
public static BootstrapConfig.SSLVerifyMode[] values()
for (BootstrapConfig.SSLVerifyMode c : BootstrapConfig.SSLVerifyMode.values()) System.out.println(c);
public static BootstrapConfig.SSLVerifyMode 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 nullpublic String toString()
toString
in class Enum<BootstrapConfig.SSLVerifyMode>
public static BootstrapConfig.SSLVerifyMode fromValue(String value)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.