org.springframework.boot.web.embedded.netty

Class SslServerCustomizer

  • java.lang.Object
    • org.springframework.boot.web.embedded.netty.SslServerCustomizer
  • All Implemented Interfaces:
    java.util.function.Function<reactor.netty.http.server.HttpServer,reactor.netty.http.server.HttpServer>, NettyServerCustomizer


    public class SslServerCustomizer
    extends java.lang.Object
    implements NettyServerCustomizer
    NettyServerCustomizer that configures SSL for the given Reactor Netty server instance.
    Since:
    2.0.0
    • Method Detail

      • apply

        public reactor.netty.http.server.HttpServer apply(reactor.netty.http.server.HttpServer server)
        Specified by:
        apply in interface java.util.function.Function<reactor.netty.http.server.HttpServer,reactor.netty.http.server.HttpServer>
      • getContextBuilder

        protected io.netty.handler.ssl.SslContextBuilder getContextBuilder()
      • getKeyManagerFactory

        protected javax.net.ssl.KeyManagerFactory getKeyManagerFactory(Ssl ssl,
                                                                       SslStoreProvider sslStoreProvider)
      • getTrustManagerFactory

        protected javax.net.ssl.TrustManagerFactory getTrustManagerFactory(Ssl ssl,
                                                                           SslStoreProvider sslStoreProvider)