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

public class SslServerCustomizer extends Object implements 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 Details

  • Method Details

    • apply

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

      protected final reactor.netty.tcp.AbstractProtocolSslContextSpec<?> createSslContextSpec(SslBundle sslBundle)
      Create an AbstractProtocolSslContextSpec for a given SslBundle.
      Parameters:
      sslBundle - the SslBundle to use
      Returns:
      an AbstractProtocolSslContextSpec instance
      Since:
      3.2.0