public static enum ResteasyClientBuilder.HostnameVerificationPolicy extends Enum<ResteasyClientBuilder.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 ResteasyClientBuilder.HostnameVerificationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResteasyClientBuilder.HostnameVerificationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResteasyClientBuilder.HostnameVerificationPolicy ANY
public static final ResteasyClientBuilder.HostnameVerificationPolicy WILDCARD
public static final ResteasyClientBuilder.HostnameVerificationPolicy STRICT
public static ResteasyClientBuilder.HostnameVerificationPolicy[] values()
for (ResteasyClientBuilder.HostnameVerificationPolicy c : ResteasyClientBuilder.HostnameVerificationPolicy.values()) System.out.println(c);
public static ResteasyClientBuilder.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 © 2021 JBoss by Red Hat. All rights reserved.