类 DefaultSslBundleRegistry
java.lang.Object
org.springframework.boot.ssl.DefaultSslBundleRegistry
- 所有已实现的接口:
SslBundleRegistry,SslBundles
Default
SslBundleRegistry implementation.- 从以下版本开始:
- 3.1.0
- 作者:
- Scott Frederick, Moritz Halbritter, Phillip Webb, Jonatan Ivanov
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddBundleUpdateHandler(String name, Consumer<SslBundle> updateHandler) Add a handler that will be called each time the named bundle is updated.Return anSslBundlewith the provided name.Return the names of all bundles managed by this instance.voidregisterBundle(String name, SslBundle bundle) Register a namedSslBundle.voidupdateBundle(String name, SslBundle updatedBundle) Updates anSslBundle.
-
构造器详细资料
-
DefaultSslBundleRegistry
public DefaultSslBundleRegistry() -
DefaultSslBundleRegistry
-
-
方法详细资料
-
registerBundle
从接口复制的说明:SslBundleRegistryRegister a namedSslBundle.- 指定者:
registerBundle在接口中SslBundleRegistry- 参数:
name- the bundle namebundle- the bundle
-
updateBundle
从接口复制的说明:SslBundleRegistryUpdates anSslBundle.- 指定者:
updateBundle在接口中SslBundleRegistry- 参数:
name- the bundle nameupdatedBundle- the updated bundle
-
getBundle
从接口复制的说明:SslBundlesReturn anSslBundlewith the provided name.- 指定者:
getBundle在接口中SslBundles- 参数:
name- the bundle name- 返回:
- the bundle
-
addBundleUpdateHandler
public void addBundleUpdateHandler(String name, Consumer<SslBundle> updateHandler) throws NoSuchSslBundleException 从接口复制的说明:SslBundlesAdd a handler that will be called each time the named bundle is updated.- 指定者:
addBundleUpdateHandler在接口中SslBundles- 参数:
name- the bundle nameupdateHandler- the handler that should be called- 抛出:
NoSuchSslBundleException- if a bundle with the provided name does not exist
-
getBundleNames
从接口复制的说明:SslBundlesReturn the names of all bundles managed by this instance.- 指定者:
getBundleNames在接口中SslBundles- 返回:
- the bundle names
-