static enum DefaultHostnameVerifier.HostNameType extends Enum<DefaultHostnameVerifier.HostNameType>
Modifier and Type | Field and Description |
---|---|
(package private) int |
subjectType |
Modifier and Type | Method and Description |
---|---|
static DefaultHostnameVerifier.HostNameType |
valueOf(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
final int subjectType
public static DefaultHostnameVerifier.HostNameType[] values()
for (DefaultHostnameVerifier.HostNameType c : DefaultHostnameVerifier.HostNameType.values()) System.out.println(c);
public static DefaultHostnameVerifier.HostNameType 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 nullWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses