public static enum Client.Builder.Server.SecurityType extends Enum<Client.Builder.Server.SecurityType>
| Enum Constant and Description |
|---|
INSECURE
TLS disabled.
|
SECURE
TLS enabled.
|
| Modifier and Type | Method and Description |
|---|---|
static Client.Builder.Server.SecurityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Client.Builder.Server.SecurityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.Builder.Server.SecurityType SECURE
public static final Client.Builder.Server.SecurityType INSECURE
public static Client.Builder.Server.SecurityType[] values()
for (Client.Builder.Server.SecurityType c : Client.Builder.Server.SecurityType.values()) System.out.println(c);
public static Client.Builder.Server.SecurityType 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 © 2013–2021 Kitteh. All rights reserved.