public enum Protocols extends Enum<Protocols>
| Enum Constant and Description |
|---|
PLAIN |
SSL_V3 |
TLS |
TLS_V1 |
TLS_V1_1 |
TLS_V1_2 |
TLS_V1_3 |
| Modifier and Type | Method and Description |
|---|---|
static Protocols |
fromString(String requestedType) |
static String |
getAcceptedValue() |
static Protocols |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocols[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocols PLAIN
public static final Protocols SSL_V3
public static final Protocols TLS
public static final Protocols TLS_V1
public static final Protocols TLS_V1_1
public static final Protocols TLS_V1_2
public static final Protocols TLS_V1_3
public final String value
public static Protocols[] values()
for (Protocols c : Protocols.values()) System.out.println(c);
public static Protocols 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 static String getAcceptedValue()
Copyright © 2023. All rights reserved.