接口 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
-
方法概要
修饰符和类型方法说明void
addBundleUpdateHandler
(String name, Consumer<SslBundle> updateHandler) Add a handler that will be called each time the named bundle is updated.Return anSslBundle
with the provided name.Return the names of all bundles managed by this instance.
-
方法详细资料
-
getBundle
Return anSslBundle
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 nameupdateHandler
- the handler that should be called- 抛出:
NoSuchSslBundleException
- if a bundle with the provided name does not exist- 从以下版本开始:
- 3.2.0
-
getBundleNames
Return the names of all bundles managed by this instance.- 返回:
- the bundle names
- 从以下版本开始:
- 3.4.0
-