public static enum SSLOpts.HostVerify extends Enum<SSLOpts.HostVerify>
Used as enum for SSLOpts.getHostVerify()
property.
Enum Constant and Description |
---|
DEFAULT
Do normal hostname verification.
|
LAX
Don't verify the hostname in the certificate.
|
Modifier and Type | Method and Description |
---|---|
static SSLOpts.HostVerify |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSLOpts.HostVerify[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSLOpts.HostVerify LAX
public static final SSLOpts.HostVerify DEFAULT
public static SSLOpts.HostVerify[] values()
for (SSLOpts.HostVerify c : SSLOpts.HostVerify.values()) System.out.println(c);
public static SSLOpts.HostVerify 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 © 2018 Apache. All rights reserved.