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 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
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
-