Class SslServerCustomizer
java.lang.Object
org.springframework.boot.reactor.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:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSslServerCustomizer(@Nullable org.springframework.boot.web.server.Http2 http2, @Nullable org.springframework.boot.web.server.Ssl.ClientAuth clientAuth, org.springframework.boot.ssl.SslBundle sslBundle, Map<String, org.springframework.boot.ssl.SslBundle> serverNameSslBundles) -
Method Summary
Modifier and TypeMethodDescriptionreactor.netty.http.server.HttpServerapply(reactor.netty.http.server.HttpServer server) protected final reactor.netty.tcp.AbstractProtocolSslContextSpec<?> createSslContextSpec(org.springframework.boot.ssl.SslBundle sslBundle) Create anAbstractProtocolSslContextSpecfor a givenSslBundle.
-
Constructor Details
-
SslServerCustomizer
-
-
Method Details
-
apply
-
createSslContextSpec
protected final reactor.netty.tcp.AbstractProtocolSslContextSpec<?> createSslContextSpec(org.springframework.boot.ssl.SslBundle sslBundle) Create anAbstractProtocolSslContextSpecfor a givenSslBundle.- Parameters:
sslBundle- theSslBundleto use- Returns:
- an
AbstractProtocolSslContextSpecinstance
-