Top Description Fields Constructors Methods
reactor.netty.http

public final Class Http2SslContextSpec

extends AbstractProtocolSslContextSpec<Http2SslContextSpec>
Class Inheritance
Imports
io.netty.handler.codec.http2.Http2SecurityUtil, io.netty.handler.ssl.ApplicationProtocolConfig, .ApplicationProtocolNames, .SslContext, .SslContextBuilder, .SslProvider, .SupportedCipherSuiteFilter, reactor.netty.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/2 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 Http2SslContextSpec

Returns:

this
forClient
()

Creates a builder for new client-side SslContext.

public static Http2SslContextSpec
forServer(File keyCertChainFile, File keyFile)

Creates a builder for new server-side SslContext.

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

Creates a builder for new server-side SslContext.

public static Http2SslContextSpec
forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)

Creates a builder for new server-side SslContext.

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

Creates a builder for new server-side SslContext.

public static Http2SslContextSpec
forServer(KeyManager keyManager)

Creates a builder for new server-side SslContext.

public static Http2SslContextSpec
forServer(KeyManagerFactory keyManagerFactory)

Creates a builder for new server-side SslContext.

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

Creates a builder for new server-side SslContext.

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

Creates a builder for new server-side SslContext.

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

Creates a builder for new server-side SslContext.

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

Creates a builder for new server-side SslContext.

public Http2SslContextSpec
get()

Implements java.util.function.Supplier.get.

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

Field Detail

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

Constructor Detail

Http2SslContextSpecback to summary
pack-priv Http2SslContextSpec(SslContextBuilder sslContextBuilder)

Method Detail

defaultConfigurationback to summary
protected Consumer<SslContextBuilder> defaultConfiguration()

Implements abstract reactor.netty.tcp.AbstractProtocolSslContextSpec.defaultConfiguration.

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

Creates a builder for new client-side SslContext.

Returns:Http2SslContextSpec

this

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

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(File, File)
forServerback to summary
public static Http2SslContextSpec 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 Http2SslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(InputStream, InputStream)
forServerback to summary
public static Http2SslContextSpec 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 Http2SslContextSpec forServer(KeyManager keyManager)

Creates a builder for new server-side SslContext.

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

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(KeyManagerFactory)
forServerback to summary
public static Http2SslContextSpec 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 Http2SslContextSpec 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 Http2SslContextSpec 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 Http2SslContextSpec forServer(PrivateKey key, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

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

Implements java.util.function.Supplier.get.

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

Gets a result.

Returns:Http2SslContextSpec

a result

Annotations
@Override