类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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.void
registerBundle
(String name, SslBundle bundle) Register a namedSslBundle
.void
updateBundle
(String name, SslBundle updatedBundle) Updates anSslBundle
.
-
构造器详细资料
-
DefaultSslBundleRegistry
public DefaultSslBundleRegistry() -
DefaultSslBundleRegistry
-
-
方法详细资料
-
registerBundle
从接口复制的说明:SslBundleRegistry
Register a namedSslBundle
.- 指定者:
registerBundle
在接口中SslBundleRegistry
- 参数:
name
- the bundle namebundle
- the bundle
-
updateBundle
从接口复制的说明:SslBundleRegistry
Updates anSslBundle
.- 指定者:
updateBundle
在接口中SslBundleRegistry
- 参数:
name
- the bundle nameupdatedBundle
- the updated bundle
-
getBundle
从接口复制的说明:SslBundles
Return anSslBundle
with the provided name.- 指定者:
getBundle
在接口中SslBundles
- 参数:
name
- the bundle name- 返回:
- the bundle
-
addBundleUpdateHandler
public void addBundleUpdateHandler(String name, Consumer<SslBundle> updateHandler) throws NoSuchSslBundleException 从接口复制的说明:SslBundles
Add 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
从接口复制的说明:SslBundles
Return the names of all bundles managed by this instance.- 指定者:
getBundleNames
在接口中SslBundles
- 返回:
- the bundle names
-