Package reactor.netty.tcp
Class AbstractProtocolSslContextSpec<T extends AbstractProtocolSslContextSpec<T>>
java.lang.Object
reactor.netty.tcp.AbstractProtocolSslContextSpec<T>
- All Implemented Interfaces:
Supplier<T>,SslProvider.GenericSslContextSpec<SslContextBuilder>,SslProvider.ProtocolSslContextSpec
- Direct Known Subclasses:
DefaultSslContextSpec,Http11SslContextSpec,Http2SslContextSpec,TcpSslContextSpec
public abstract class AbstractProtocolSslContextSpec<T extends AbstractProtocolSslContextSpec<T>>
extends Object
implements SslProvider.ProtocolSslContextSpec, Supplier<T>
SslContext builder that provides, specific for protocol, default configuration.
- Since:
- 1.0.6
- Author:
- Violeta Georgieva
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractProtocolSslContextSpec(SslContextBuilder sslContextBuilder) -
Method Summary
Modifier and TypeMethodDescriptionconfigure(Consumer<SslContextBuilder> sslCtxBuilder) Configures the underlyingSslContext.protected abstract Consumer<SslContextBuilder>Create a newSslContextinstance with the configured settings.
-
Constructor Details
-
AbstractProtocolSslContextSpec
-
-
Method Details
-
defaultConfiguration
-
configure
Description copied from interface:SslProvider.GenericSslContextSpecConfigures the underlyingSslContext.- Specified by:
configurein interfaceSslProvider.GenericSslContextSpec<T extends AbstractProtocolSslContextSpec<T>>- Specified by:
configurein interfaceSslProvider.ProtocolSslContextSpec- Parameters:
sslCtxBuilder- a callback for configuring the underlyingSslContext- Returns:
this
-
sslContext
Description copied from interface:SslProvider.GenericSslContextSpecCreate a newSslContextinstance with the configured settings.- Specified by:
sslContextin interfaceSslProvider.GenericSslContextSpec<T extends AbstractProtocolSslContextSpec<T>>- Returns:
- a new
SslContextinstance - Throws:
SSLException- thrown whenSslContextinstance cannot be created
-