Class SslReload

java.lang.Object
io.dropwizard.jetty.SslReload

public class SslReload extends Object
Provides the ability to modify an existing SSL factory with new configuration options.
  • Constructor Details

    • SslReload

      public SslReload(org.eclipse.jetty.util.ssl.SslContextFactory factory, Consumer<org.eclipse.jetty.util.ssl.SslContextFactory> configurer)
  • Method Details

    • reload

      public void reload() throws Exception
      Throws:
      Exception
    • reloadDryRun

      public void reloadDryRun() throws Exception
      Perform a mock configuration reload
      Throws:
      Exception - if the reload failed, e.g. due to invalid configuration
      Since:
      2.1.0
    • getFactory

      public org.eclipse.jetty.util.ssl.SslContextFactory getFactory()