public static enum SslSimpleBuilder.SslClientVerifyMode extends Enum<SslSimpleBuilder.SslClientVerifyMode>
Enum Constant and Description |
---|
FORCE_PEER |
VERIFY_PEER |
Modifier and Type | Method and Description |
---|---|
static SslSimpleBuilder.SslClientVerifyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslSimpleBuilder.SslClientVerifyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslSimpleBuilder.SslClientVerifyMode VERIFY_PEER
public static final SslSimpleBuilder.SslClientVerifyMode FORCE_PEER
public static SslSimpleBuilder.SslClientVerifyMode[] values()
for (SslSimpleBuilder.SslClientVerifyMode c : SslSimpleBuilder.SslClientVerifyMode.values()) System.out.println(c);
public static SslSimpleBuilder.SslClientVerifyMode 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 nullCopyright © 2017. All rights reserved.