public static enum HostnameVerificationConfigurable.HostnameVerification extends Enum<HostnameVerificationConfigurable.HostnameVerification>
AvaticaHttpClient
.Enum Constant and Description |
---|
NONE
No verification is performed.
|
STRICT
The common name (CN) on the certificate must match the server's hostname.
|
Modifier and Type | Method and Description |
---|---|
static HostnameVerificationConfigurable.HostnameVerification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostnameVerificationConfigurable.HostnameVerification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostnameVerificationConfigurable.HostnameVerification STRICT
public static final HostnameVerificationConfigurable.HostnameVerification NONE
public static HostnameVerificationConfigurable.HostnameVerification[] values()
for (HostnameVerificationConfigurable.HostnameVerification c : HostnameVerificationConfigurable.HostnameVerification.values()) System.out.println(c);
public static HostnameVerificationConfigurable.HostnameVerification 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 © 2012-2024 Apache Software Foundation. All Rights Reserved.