Package io.hekate.network
Enum NetworkSslConfig.Provider
- java.lang.Object
-
- java.lang.Enum<NetworkSslConfig.Provider>
-
- io.hekate.network.NetworkSslConfig.Provider
-
- All Implemented Interfaces:
Serializable
,Comparable<NetworkSslConfig.Provider>
- Enclosing class:
- NetworkSslConfig
public static enum NetworkSslConfig.Provider extends Enum<NetworkSslConfig.Provider>
SSL provider type.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetworkSslConfig.Provider
valueOf(String name)
Returns the enum constant of this type with the specified name.static NetworkSslConfig.Provider[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final NetworkSslConfig.Provider AUTO
Automatically select provider depending on what is available on the classpath.
-
JDK
public static final NetworkSslConfig.Provider JDK
JDK default SSL provider.
-
OPEN_SSL
public static final NetworkSslConfig.Provider OPEN_SSL
OpenSSL provider.
-
-
Method Detail
-
values
public static NetworkSslConfig.Provider[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NetworkSslConfig.Provider c : NetworkSslConfig.Provider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkSslConfig.Provider valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-