Module io.netty5.handler
Package io.netty5.handler.ssl
Enum OpenSslCertificateCompressionConfig.AlgorithmMode
- java.lang.Object
-
- java.lang.Enum<OpenSslCertificateCompressionConfig.AlgorithmMode>
-
- io.netty5.handler.ssl.OpenSslCertificateCompressionConfig.AlgorithmMode
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenSslCertificateCompressionConfig.AlgorithmMode>
- Enclosing class:
- OpenSslCertificateCompressionConfig
public static enum OpenSslCertificateCompressionConfig.AlgorithmMode extends Enum<OpenSslCertificateCompressionConfig.AlgorithmMode>
The usage mode of theOpenSslCertificateCompressionAlgorithm
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Both
Compression and Decompression are supported and both should be advertised.Compress
Compression supported and should be advertised.Decompress
Decompression supported and should be advertised.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenSslCertificateCompressionConfig.AlgorithmMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenSslCertificateCompressionConfig.AlgorithmMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Compress
public static final OpenSslCertificateCompressionConfig.AlgorithmMode Compress
Compression supported and should be advertised.
-
Decompress
public static final OpenSslCertificateCompressionConfig.AlgorithmMode Decompress
Decompression supported and should be advertised.
-
Both
public static final OpenSslCertificateCompressionConfig.AlgorithmMode Both
Compression and Decompression are supported and both should be advertised.
-
-
Method Detail
-
values
public static OpenSslCertificateCompressionConfig.AlgorithmMode[] 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 (OpenSslCertificateCompressionConfig.AlgorithmMode c : OpenSslCertificateCompressionConfig.AlgorithmMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenSslCertificateCompressionConfig.AlgorithmMode 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
-
-