public enum HostnameVerification extends Enum<HostnameVerification>
| Enum Constant and Description |
|---|
BROWSER_COMPATIBLE |
SKIP |
STRICT |
| Modifier and Type | Method and Description |
|---|---|
static HostnameVerification |
findByName(String name) |
static HostnameVerification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostnameVerification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostnameVerification STRICT
public static final HostnameVerification BROWSER_COMPATIBLE
public static final HostnameVerification SKIP
public final String name
public static HostnameVerification[] values()
for (HostnameVerification c : HostnameVerification.values()) System.out.println(c);
public static HostnameVerification 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 nullpublic static HostnameVerification findByName(String name)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.