Package org.eclipse.aether.transfer
Enum Class HttpTransportProperty.SslProtocol
java.lang.Object
java.lang.Enum<HttpTransportProperty.SslProtocol>
org.eclipse.aether.transfer.HttpTransportProperty.SslProtocol
- All Implemented Interfaces:
Serializable,Comparable<HttpTransportProperty.SslProtocol>,Constable
- Enclosing class:
HttpTransportProperty
public static enum HttpTransportProperty.SslProtocol
extends Enum<HttpTransportProperty.SslProtocol>
SSL protocol including version used for the HTTP transport.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfromStandardName(String name) Converts a standard SSL protocol name to the corresponding SslProtocol enum value.toString()Returns the enum constant of this class with the specified name.static HttpTransportProperty.SslProtocol[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SSL_3_0
-
TLS_1_0
-
TLS_1_1
-
TLS_1_2
-
TLS_1_3
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<HttpTransportProperty.SslProtocol>
-
fromStandardName
Converts a standard SSL protocol name to the corresponding SslProtocol enum value.- Parameters:
name- the standard algorithm name of the SSL protocol (e.g., "TLSv1.2", "TLSv1.3")- Returns:
- the corresponding SslProtocol enum value
- See Also:
-