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
ConstructorsConstructorDescriptionSslServerCustomizer(Http2 http2, Ssl.ClientAuth clientAuth, SslBundle sslBundle, Map<String, SslBundle> serverNameSslBundles) -
Method Summary
Modifier and TypeMethodDescriptionreactor.netty.http.server.HttpServerapply(reactor.netty.http.server.HttpServer server) protected final reactor.netty.tcp.AbstractProtocolSslContextSpec<?>createSslContextSpec(SslBundle sslBundle) Create anAbstractProtocolSslContextSpecfor 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 anAbstractProtocolSslContextSpecfor a givenSslBundle.- Parameters:
sslBundle- theSslBundleto use- Returns:
- an
AbstractProtocolSslContextSpecinstance - Since:
- 3.2.0
-