static enum DefaultHostnameVerifier.HostNameType extends java.lang.Enum<DefaultHostnameVerifier.HostNameType>
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
subjectType |
| Modifier and Type | Method and Description |
|---|---|
static DefaultHostnameVerifier.HostNameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultHostnameVerifier.HostNameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultHostnameVerifier.HostNameType IPv4
public static final DefaultHostnameVerifier.HostNameType IPv6
public static final DefaultHostnameVerifier.HostNameType DNS
public static DefaultHostnameVerifier.HostNameType[] values()
for (DefaultHostnameVerifier.HostNameType c : DefaultHostnameVerifier.HostNameType.values()) System.out.println(c);
public static DefaultHostnameVerifier.HostNameType 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