Package org.springframework.boot.ssl
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
-
Method Summary
-
Method Details
-
getBundle
Return anSslBundle
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 nameupdateHandler
- the handler that should be called- Throws:
NoSuchSslBundleException
- if a bundle with the provided name does not exist- Since:
- 3.2.0
-