java.io.Serializable, java.lang.Comparable<InsecureProtocolOption>@Incubating public enum InsecureProtocolOption extends java.lang.Enum<InsecureProtocolOption>
| Enum Constant | Description |
|---|---|
ALLOW |
Allow insecure protocols to be used when found.
|
FAIL |
Fail if a URL with an insecure protocol is found.
|
UPGRADE |
Upgrade an insecure protocol to a secure one.
|
WARN |
Emit a warning if a URL with an insecure protocol is found.
|
| Modifier and Type | Method | Description |
|---|---|---|
static InsecureProtocolOption |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static InsecureProtocolOption[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InsecureProtocolOption FAIL
public static final InsecureProtocolOption WARN
public static final InsecureProtocolOption ALLOW
public static final InsecureProtocolOption UPGRADE
public static InsecureProtocolOption[] values()
for (InsecureProtocolOption c : InsecureProtocolOption.values()) System.out.println(c);
public static InsecureProtocolOption 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