public enum SslRequired extends Enum<SslRequired>
Modifier and Type | Method and Description |
---|---|
boolean |
isRequired(ClientConnection connection) |
boolean |
isRequired(String address) |
static SslRequired |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslRequired[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslRequired ALL
public static final SslRequired EXTERNAL
public static final SslRequired NONE
public static SslRequired[] values()
for (SslRequired c : SslRequired.values()) System.out.println(c);
public static SslRequired 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(ClientConnection connection)
public boolean isRequired(String address)
Copyright © 2016 JBoss by Red Hat. All rights reserved.