public static enum HttpClientHandler.HostnameVerifier extends Enum<HttpClientHandler.HostnameVerifier>
Enum Constant and Description |
---|
ALLOW_ALL
Deprecated.
this should never be used as it is a security risk.
|
STRICT
Requires that the host name matches the host name presented in the
certificate.
|
Modifier and Type | Method and Description |
---|---|
static HttpClientHandler.HostnameVerifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpClientHandler.HostnameVerifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final HttpClientHandler.HostnameVerifier ALLOW_ALL
public static final HttpClientHandler.HostnameVerifier STRICT
public static HttpClientHandler.HostnameVerifier[] values()
for (HttpClientHandler.HostnameVerifier c : HttpClientHandler.HostnameVerifier.values()) System.out.println(c);
public static HttpClientHandler.HostnameVerifier 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 © 2010-2018, ForgeRock All Rights Reserved.