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

      @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 of createSslContextSpec(SslBundle)
      Factory method used to create an AbstractProtocolSslContextSpec.
      Returns:
      the AbstractProtocolSslContextSpec to use
    • 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