Interface SslBundles

All Known Implementing Classes:
DefaultSslBundleRegistry

public interface SslBundles
A managed set of SslBundle instances that can be retrieved by name.
Since:
3.1.0
Author:
Scott Frederick, Moritz Halbritter, Jonatan Ivanov
  • Method Details

    • getBundle

      SslBundle getBundle(String name) throws NoSuchSslBundleException
      Return an SslBundle with the provided name.
      Parameters:
      name - the bundle name
      Returns:
      the bundle
      Throws:
      NoSuchSslBundleException - if a bundle with the provided name does not exist
    • addBundleUpdateHandler

      void addBundleUpdateHandler(String name, Consumer<SslBundle> updateHandler) throws NoSuchSslBundleException
      Add a handler that will be called each time the named bundle is updated.
      Parameters:
      name - the bundle name
      updateHandler - the handler that should be called
      Throws:
      NoSuchSslBundleException - if a bundle with the provided name does not exist
      Since:
      3.2.0
    • getBundleNames

      List<String> getBundleNames()
      Return the names of all bundles managed by this instance.
      Returns:
      the bundle names
      Since:
      3.4.0