接口 SslBundles

所有已知实现类:
DefaultSslBundleRegistry

public interface SslBundles
A managed set of SslBundle instances that can be retrieved by name.
从以下版本开始:
3.1.0
作者:
Scott Frederick, Moritz Halbritter, Jonatan Ivanov
  • 方法详细资料

    • getBundle

      SslBundle getBundle(String name) throws NoSuchSslBundleException
      Return an SslBundle with the provided name.
      参数:
      name - the bundle name
      返回:
      the bundle
      抛出:
      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.
      参数:
      name - the bundle name
      updateHandler - the handler that should be called
      抛出:
      NoSuchSslBundleException - if a bundle with the provided name does not exist
      从以下版本开始:
      3.2.0
    • getBundleNames

      List<String> getBundleNames()
      Return the names of all bundles managed by this instance.
      返回:
      the bundle names
      从以下版本开始:
      3.4.0