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 SummaryConstructorsConstructorDescriptionSslServerCustomizer(Http2 http2, Ssl.ClientAuth clientAuth, SslBundle sslBundle) 
- 
Method SummaryModifier and TypeMethodDescriptionreactor.netty.http.server.HttpServerapply(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 anAbstractProtocolSslContextSpecfor a givenSslBundle.
- 
Constructor Details- 
SslServerCustomizer
 
- 
- 
Method Details- 
applypublic 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 AbstractProtocolSslContextSpecto use
 
- 
createSslContextSpecprotected final reactor.netty.tcp.AbstractProtocolSslContextSpec<?> createSslContextSpec(SslBundle sslBundle) Create anAbstractProtocolSslContextSpecfor a givenSslBundle.- Parameters:
- sslBundle- the- SslBundleto use
- Returns:
- an AbstractProtocolSslContextSpecinstance
- Since:
- 3.2.0
 
 
- 
createSslContextSpec(SslBundle)