public static enum HttpClientBuilder.HostnameVerificationPolicy extends Enum<HttpClientBuilder.HostnameVerificationPolicy>
Enum Constant and Description |
---|
ANY
Hostname verification is not done on the server's certificate
|
STRICT
CN must match hostname connecting to
|
WILDCARD
Allows wildcards in subdomain names i.e.
|
Modifier and Type | Method and Description |
---|---|
static HttpClientBuilder.HostnameVerificationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpClientBuilder.HostnameVerificationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpClientBuilder.HostnameVerificationPolicy ANY
public static final HttpClientBuilder.HostnameVerificationPolicy WILDCARD
public static final HttpClientBuilder.HostnameVerificationPolicy STRICT
public static HttpClientBuilder.HostnameVerificationPolicy[] values()
for (HttpClientBuilder.HostnameVerificationPolicy c : HttpClientBuilder.HostnameVerificationPolicy.values()) System.out.println(c);
public static HttpClientBuilder.HostnameVerificationPolicy 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 © 2019 JBoss by Red Hat. All rights reserved.