public enum TLSProtocol extends Enum<TLSProtocol>
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getName()
Returns the name of the supported TLS protocol.
|
static TLSProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLSProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLSProtocol TLSV1
public static final TLSProtocol TLSV1_1
public static final TLSProtocol TLSV1_2
public static TLSProtocol[] values()
for (TLSProtocol c : TLSProtocol.values()) System.out.println(c);
public static TLSProtocol 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 null@NotNull public @NotNull String getName()
Copyright © 2017–2023 SoftVision Development GmbH, Fulda, Germany. All rights reserved.