Class SslServerCustomizer
java.lang.Object
org.springframework.boot.web.embedded.netty.SslServerCustomizer
- All Implemented Interfaces:
Function<reactor.netty.http.server.HttpServer,
,reactor.netty.http.server.HttpServer> NettyServerCustomizer
NettyServerCustomizer
that configures SSL for the given Reactor Netty server
instance.- Since:
- 2.0.0
- Author:
- Brian Clozel, Raheela Aslam, Chris Bono, Cyril Dangerville, Scott Frederick, Moritz Halbritter, Phillip Webb
-
Constructor Summary
ConstructorDescriptionSslServerCustomizer
(Http2 http2, Ssl.ClientAuth clientAuth, SslBundle sslBundle, Map<String, SslBundle> serverNameSslBundles) -
Method Summary
Modifier and TypeMethodDescriptionreactor.netty.http.server.HttpServer
apply
(reactor.netty.http.server.HttpServer server) protected reactor.netty.tcp.AbstractProtocolSslContextSpec<?>
Deprecated, for removal: This API element is subject to removal in a future version.protected final reactor.netty.tcp.AbstractProtocolSslContextSpec<?>
createSslContextSpec
(SslBundle sslBundle) Create anAbstractProtocolSslContextSpec
for a givenSslBundle
.
-
Constructor Details
-
SslServerCustomizer
-
-
Method Details
-
apply
public reactor.netty.http.server.HttpServer apply(reactor.netty.http.server.HttpServer server) -
createSslContextSpec
@Deprecated(since="3.2", forRemoval=true) protected reactor.netty.tcp.AbstractProtocolSslContextSpec<?> createSslContextSpec()Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofcreateSslContextSpec(SslBundle)
Factory method used to create anAbstractProtocolSslContextSpec
.- Returns:
- the
AbstractProtocolSslContextSpec
to use
-
createSslContextSpec
protected final reactor.netty.tcp.AbstractProtocolSslContextSpec<?> createSslContextSpec(SslBundle sslBundle) Create anAbstractProtocolSslContextSpec
for a givenSslBundle
.- Parameters:
sslBundle
- theSslBundle
to use- Returns:
- an
AbstractProtocolSslContextSpec
instance - Since:
- 3.2.0
-
createSslContextSpec(SslBundle)