Class WebServerSslBundle

java.lang.Object
org.springframework.boot.web.server.WebServerSslBundle
All Implemented Interfaces:
org.springframework.boot.ssl.SslBundle

public final class WebServerSslBundle extends Object implements org.springframework.boot.ssl.SslBundle
SslBundle backed by Ssl.
Since:
3.1.0
  • Field Summary

    Fields inherited from interface org.springframework.boot.ssl.SslBundle

    DEFAULT_PROTOCOL
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.boot.ssl.SslBundle
    get(@Nullable Ssl ssl, @Nullable org.springframework.boot.ssl.SslBundles sslBundles)
    Get the SslBundle that should be used for the given Ssl instance.
    static org.springframework.boot.ssl.SslBundle
    get(Ssl ssl)
    Get the SslBundle that should be used for the given Ssl instance.
    org.springframework.boot.ssl.SslBundleKey
     
    org.springframework.boot.ssl.SslManagerBundle
     
    org.springframework.boot.ssl.SslOptions
     
     
    org.springframework.boot.ssl.SslStoreBundle
     
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.boot.ssl.SslBundle

    createSslContext
  • Method Details

    • getStores

      public org.springframework.boot.ssl.SslStoreBundle getStores()
      Specified by:
      getStores in interface org.springframework.boot.ssl.SslBundle
    • getKey

      public org.springframework.boot.ssl.SslBundleKey getKey()
      Specified by:
      getKey in interface org.springframework.boot.ssl.SslBundle
    • getOptions

      public org.springframework.boot.ssl.SslOptions getOptions()
      Specified by:
      getOptions in interface org.springframework.boot.ssl.SslBundle
    • getProtocol

      public String getProtocol()
      Specified by:
      getProtocol in interface org.springframework.boot.ssl.SslBundle
    • getManagers

      public org.springframework.boot.ssl.SslManagerBundle getManagers()
      Specified by:
      getManagers in interface org.springframework.boot.ssl.SslBundle
    • get

      public static org.springframework.boot.ssl.SslBundle get(Ssl ssl) throws org.springframework.boot.ssl.NoSuchSslBundleException
      Get the SslBundle that should be used for the given Ssl instance.
      Parameters:
      ssl - the source ssl instance
      Returns:
      a SslBundle instance
      Throws:
      org.springframework.boot.ssl.NoSuchSslBundleException - if a bundle lookup fails
    • get

      public static org.springframework.boot.ssl.SslBundle get(@Nullable Ssl ssl, @Nullable org.springframework.boot.ssl.SslBundles sslBundles) throws org.springframework.boot.ssl.NoSuchSslBundleException
      Get the SslBundle that should be used for the given Ssl instance.
      Parameters:
      ssl - the source ssl instance
      sslBundles - the bundles that should be used when Ssl.getBundle() is set
      Returns:
      a SslBundle instance
      Throws:
      org.springframework.boot.ssl.NoSuchSslBundleException - if a bundle lookup fails
    • toString

      public String toString()
      Overrides:
      toString in class Object