Package reactor.netty.tcp
Class SslProvider
java.lang.Object
reactor.netty.tcp.SslProvider
SSL Provider.
- Author:
- Violeta Georgieva
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
Generic SslContext builder that provides, specific for the protocol, default configuration.static interface
static interface
SslContext builder that provides, specific for the protocol, default configuration.static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic SslProvider
addHandlerConfigurator
(SslProvider provider, Consumer<? super SslHandler> handlerConfigurator) Creates a newSslProvider
with a prepending handler configurator callback to inject default settings to an existing provider configuration.void
addSslHandler
(Channel channel, @Nullable SocketAddress remoteAddress, boolean sslDebug) static SslProvider.SslContextSpec
builder()
Creates a builder forSslProvider
.void
configure
(SslHandler sslHandler) static SslProvider
Return the default client ssl provider.boolean
@Nullable List<SNIServerName>
ReturnsSslContext
instance with configured settings.int
hashCode()
toString()
-
Method Details
-
builder
Creates a builder forSslProvider
.- Returns:
- a new SslProvider builder
-
addHandlerConfigurator
public static SslProvider addHandlerConfigurator(SslProvider provider, Consumer<? super SslHandler> handlerConfigurator) Creates a newSslProvider
with a prepending handler configurator callback to inject default settings to an existing provider configuration.- Returns:
- a new SslProvider
-
defaultClientProvider
Return the default client ssl provider.- Returns:
- default client ssl provider
-
getSslContext
ReturnsSslContext
instance with configured settings.- Returns:
SslContext
instance with configured settings.
-
getServerNames
-
configure
-
addSslHandler
-
toString
-
equals
-
hashCode
public int hashCode()
-