public static enum ResteasyClientBuilder.HostnameVerificationPolicy extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null