public enum SSLMode extends Enum<SSLMode>
Enum Constant and Description |
---|
Allow |
Disable |
Prefer |
Require |
VerifyCa |
VerifyFull |
Modifier and Type | Method and Description |
---|---|
boolean |
isRequired() |
static SSLMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSLMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSLMode Disable
public static final SSLMode Allow
public static final SSLMode Prefer
public static final SSLMode Require
public static final SSLMode VerifyCa
public static final SSLMode VerifyFull
public static SSLMode[] values()
for (SSLMode c : SSLMode.values()) System.out.println(c);
public static SSLMode 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 boolean isRequired()
Copyright © 2013-2015 impossibl.com. All Rights Reserved.