Top Description Inners Fields Constructors Methods
reactor.netty.tcp

public final Class SslProvider

extends Object
Class Inheritance
Imports
java.net.InetSocketAddress, .SocketAddress, java.nio.charset.Charset, java.time.Duration, java.util.Arrays, .Collections, .HashMap, .List, .Map, .Objects, java.util.function.Consumer, javax.net.ssl.SNIServerName, .SSLEngine, .SSLException, .SSLParameters, io.netty.channel.Channel, .ChannelHandlerContext, .ChannelInboundHandlerAdapter, .ChannelPipeline, io.netty.handler.logging.LogLevel, .LoggingHandler, io.netty.handler.ssl.ApplicationProtocolConfig, .ApplicationProtocolNames, .IdentityCipherSuiteFilter, .OpenSsl, .SslContext, .SslContextBuilder, .SslHandler, .SslHandshakeCompletionEvent, .SupportedCipherSuiteFilter, io.netty.util.AsyncMapping, reactor.core.Exceptions, reactor.netty.NettyPipeline, .ReactorNetty, reactor.netty.transport.logging.AdvancedByteBufFormat, reactor.util.Logger, .Loggers, reactor.util.annotation.Nullable

SSL Provider.
Author
Violeta Georgieva

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
SslProvider.Build

Deprecated as a consequence of SslProvider.DefaultConfigurationSpec being deprecated.
public static interface
public static interface
SslProvider.DefaultConfigurationSpec

Deprecated as of 1.0.6.
Default configuration type that will be applied to the provided SslContextBuilder.
public static enum
SslProvider.DefaultConfigurationType

Deprecated as of 1.0.6.
Default configuration that will be applied to the provided SslContextBuilder.
public static interface
SslProvider.ProtocolSslContextSpec

SslContext builder that provides, specific for the protocol, default configuration.

public static interface
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final int
pack-priv final long
pack-priv final long
pack-priv final Map<String, SslProvider>
pack-priv final Consumer<? super SslHandler>
pack-priv final long
pack-priv static final List<String>
HTTP2_CIPHERS

Mozilla Modern Cipher Suites minus the following cipher suites that are black listed by the HTTP/2 RFC.

pack-priv static final Logger
pack-priv static final LoggingHandler
pack-priv final AsyncMapping<String, SslProvider>
pack-priv final SniProvider
pack-priv final SslContext
pack-priv final SslContextBuilder
pack-priv final SslProvider.DefaultConfigurationType
type

Deprecated as a consequence of SslProvider.DefaultConfigurationType being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
SslProvider(SslProvider.Build builder)

Deprecated as a consequence of SslProvider.Build being deprecated.
pack-priv
SslProvider(SslProvider from, Consumer<? super SslHandler> handlerConfigurator)

pack-priv
SslProvider(SslProvider from, SslProvider.DefaultConfigurationType type)

Deprecated as a consequence of SslProvider.DefaultConfigurationType being deprecated.

Method Summary

Modifier and TypeMethod and Description
public static SslProvider

Returns:

a new SslProvider
addHandlerConfigurator
(SslProvider provider, Consumer<? super SslHandler> handlerConfigurator)

Creates a new SslProvider with a prepending handler configurator callback to inject default settings to an existing provider configuration.

public void
addSslHandler(Channel channel, SocketAddress remoteAddress, boolean sslDebug)

pack-priv static void
addSslReadHandler(ChannelPipeline pipeline, boolean sslDebug)

public static SslProvider.SslContextSpec

Returns:

a new SslProvider builder
builder
()

Creates a builder for SslProvider.

public void
configure(SslHandler sslHandler)

public static SslProvider

Returns:

default client ssl provider
defaultClientProvider
()

Return the default client ssl provider.

public boolean
equals(Object
the reference object with which to compare.
o
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public SslProvider.DefaultConfigurationType

Returns:

the configured default configuration type.
getDefaultConfigurationType
()

Deprecated as a consequence of SslProvider.DefaultConfigurationType being deprecated.
Returns the configured default configuration type.
public SslContext

Returns:

SslContext instance with configured settings.
getSslContext
()

Returns SslContext instance with configured settings.

public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
pack-priv SniProvider
updateAllSslProviderConfiguration(Map<String, SslProvider> confPerDomainName, SslProvider defaultSslProvider, SslProvider.DefaultConfigurationType type)

Deprecated as a consequence of SslProvider.DefaultConfigurationType being deprecated.
public static SslProvider
updateDefaultConfiguration(SslProvider provider, SslProvider.DefaultConfigurationType type)

Deprecated as of 1.0.6.
Updates the DefaultConfigurationType used by this SslProvider.
pack-priv void
Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait