Package reactor.netty.http
Class Http3SslContextSpec
java.lang.Object
reactor.netty.http.Http3SslContextSpec
- All Implemented Interfaces:
- SslProvider.GenericSslContextSpec<QuicSslContextBuilder>,- SslProvider.GenericSslContextSpecWithSniSupport<QuicSslContextBuilder>
public final class Http3SslContextSpec
extends Object
implements SslProvider.GenericSslContextSpecWithSniSupport<QuicSslContextBuilder>
SslContext builder that provides default configuration specific to HTTP/3 as follows:
 
- Supported application protocols
The default configuration is applied prior any other custom configuration.
- Since:
- 1.2.0
- Author:
- Violeta Georgieva
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionconfigure(Consumer<QuicSslContextBuilder> sslCtxBuilder) Configures the underlyingSslContext.static Http3SslContextSpecCreates a builder for new client-sideSslContext.static Http3SslContextSpecCreates a builder for new server-sideSslContext.static Http3SslContextSpecforServer(PrivateKey key, @Nullable String keyPassword, X509Certificate... certChain) Creates a builder for new server-sideSslContext.static Http3SslContextSpecforServer(KeyManagerFactory keyManagerFactory, @Nullable String password) Creates a builder for new server-sideSslContext.static Http3SslContextSpecforServer(KeyManager keyManager, @Nullable String keyPassword) Creates a builder for new server-sideSslContext.Create a newSslContextinstance with the configured settings.sslContext(Map<String, SslProvider> sniMappings) Create a newSslContextinstance with the configured settings.
- 
Method Details- 
forClientCreates a builder for new client-sideSslContext.- See Also:
 
- 
forServerpublic static Http3SslContextSpec forServer(File keyFile, @Nullable String keyPassword, File certChainFile) Creates a builder for new server-sideSslContext.
- 
forServerCreates a builder for new server-sideSslContext.
- 
forServerpublic static Http3SslContextSpec forServer(KeyManagerFactory keyManagerFactory, @Nullable String password) Creates a builder for new server-sideSslContext.
- 
forServerpublic static Http3SslContextSpec forServer(PrivateKey key, @Nullable String keyPassword, X509Certificate... certChain) Creates a builder for new server-sideSslContext.
- 
configureDescription copied from interface:SslProvider.GenericSslContextSpecWithSniSupportConfigures the underlyingSslContext.- Specified by:
- configurein interface- SslProvider.GenericSslContextSpec<QuicSslContextBuilder>
- Specified by:
- configurein interface- SslProvider.GenericSslContextSpecWithSniSupport<QuicSslContextBuilder>
- Parameters:
- sslCtxBuilder- a callback for configuring the underlying- SslContext
- Returns:
- this
 
- 
sslContextDescription copied from interface:SslProvider.GenericSslContextSpecCreate a newSslContextinstance with the configured settings.- Specified by:
- sslContextin interface- SslProvider.GenericSslContextSpec<QuicSslContextBuilder>
- Returns:
- a new SslContextinstance
- Throws:
- SSLException- thrown when- SslContextinstance cannot be created
 
- 
sslContextDescription copied from interface:SslProvider.GenericSslContextSpecWithSniSupportCreate a newSslContextinstance with the configured settings.- Specified by:
- sslContextin interface- SslProvider.GenericSslContextSpecWithSniSupport<QuicSslContextBuilder>
- Parameters:
- sniMappings-- SNIconfiguration per domain
- Returns:
- a new SslContextinstance
- Throws:
- SSLException- thrown when- SslContextinstance cannot be created
 
 
-