Top Description Fields Constructors Methods
reactor.netty5.http

public final Class Http11SslContextSpec

extends AbstractProtocolSslContextSpec<Http11SslContextSpec>
Class Inheritance
Imports
io.netty5.handler.ssl.IdentityCipherSuiteFilter, .OpenSsl, .SslContext, .SslContextBuilder, reactor.netty5.tcp.AbstractProtocolSslContextSpec, javax.net.ssl.KeyManager, .KeyManagerFactory, java.io.File, .InputStream, java.security.PrivateKey, java.security.cert.X509Certificate, java.util.function.Consumer

SslContext builder that provides default configuration specific to HTTP/1.x as follows:

The default configuration is applied prior any other custom configuration.

Author
Violeta Georgieva
Since
1.0.6

Field Summary

Modifier and TypeField and Description
pack-priv static final Consumer<SslContextBuilder>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected Consumer<SslContextBuilder>
public static Http11SslContextSpec

Returns:

this
forClient
()

Creates a builder for new client-side SslContext.

public static Http11SslContextSpec
forServer(File keyCertChainFile, File keyFile)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(File keyCertChainFile, File keyFile, String keyPassword)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(InputStream keyCertChainInputStream, InputStream keyInputStream, String keyPassword)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(KeyManager keyManager)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(KeyManagerFactory keyManagerFactory)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(PrivateKey key, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(PrivateKey key, String keyPassword, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(PrivateKey key, String keyPassword, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

public static Http11SslContextSpec
forServer(PrivateKey key, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

public Http11SslContextSpec
get()

Implements java.util.function.Supplier.get.

Gets a result.
Inherited from reactor.netty5.tcp.AbstractProtocolSslContextSpec:
configuresslContext

Field Detail

DEFAULT_CONFIGURATORback to summary
pack-priv static final Consumer<SslContextBuilder> DEFAULT_CONFIGURATOR

Constructor Detail

Http11SslContextSpecback to summary
pack-priv Http11SslContextSpec(SslContextBuilder sslContextBuilder)

Method Detail

defaultConfigurationback to summary
protected Consumer<SslContextBuilder> defaultConfiguration()

Implements abstract reactor.netty5.tcp.AbstractProtocolSslContextSpec.defaultConfiguration.

Annotations
@Override
forClientback to summary
public static Http11SslContextSpec forClient()

Creates a builder for new client-side SslContext.

Returns:Http11SslContextSpec

this

forServerback to summary
public static Http11SslContextSpec forServer(File keyCertChainFile, File keyFile)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(File, File)
forServerback to summary
public static Http11SslContextSpec forServer(File keyCertChainFile, File keyFile, String keyPassword)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(File, File, String)
forServerback to summary
public static Http11SslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(InputStream, InputStream)
forServerback to summary
public static Http11SslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream, String keyPassword)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(InputStream, InputStream, String)
forServerback to summary
public static Http11SslContextSpec forServer(KeyManager keyManager)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(KeyManager)
forServerback to summary
public static Http11SslContextSpec forServer(KeyManagerFactory keyManagerFactory)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(KeyManagerFactory)
forServerback to summary
public static Http11SslContextSpec forServer(PrivateKey key, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, Iterable)
forServerback to summary
public static Http11SslContextSpec forServer(PrivateKey key, String keyPassword, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, String, Iterable)
forServerback to summary
public static Http11SslContextSpec forServer(PrivateKey key, String keyPassword, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, String, X509Certificate...)
forServerback to summary
public static Http11SslContextSpec forServer(PrivateKey key, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, X509Certificate...)
getback to summary
public Http11SslContextSpec get()

Implements java.util.function.Supplier.get.

Doc from java.util.function.Supplier.get.

Gets a result.

Returns:Http11SslContextSpec

a result

Annotations
@Override