public static final class OpenSslCertificateCompressionConfig.Builder extends Object
OpenSslCertificateCompressionAlgorithm
.Modifier and Type | Method and Description |
---|---|
OpenSslCertificateCompressionConfig.Builder |
addAlgorithm(OpenSslCertificateCompressionAlgorithm algorithm,
OpenSslCertificateCompressionConfig.AlgorithmMode mode)
Adds a certificate compression algorithm.
|
OpenSslCertificateCompressionConfig |
build()
Build a new
OpenSslCertificateCompressionConfig based on the previous
added OpenSslCertificateCompressionAlgorithm s. |
public OpenSslCertificateCompressionConfig.Builder addAlgorithm(OpenSslCertificateCompressionAlgorithm algorithm, OpenSslCertificateCompressionConfig.AlgorithmMode mode)
algorithm
- implementation of the compression and or decompression algorithm as a
OpenSslCertificateCompressionAlgorithm
mode
- indicates whether decompression support should be advertized, compression should be applied
for peers which support it, or both. This allows the caller to support one way compression
only.public OpenSslCertificateCompressionConfig build()
OpenSslCertificateCompressionConfig
based on the previous
added OpenSslCertificateCompressionAlgorithm
s.Copyright © 2008–2024 The Netty Project. All rights reserved.