Package org.springframework.boot.ssl
Interface SslBundleRegistry
- All Known Implementing Classes:
DefaultSslBundleRegistry
public interface SslBundleRegistry
Interface that can be used to register an
SslBundle
for a given name.- Since:
- 3.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerBundle
(String name, SslBundle bundle) Register a namedSslBundle
.void
updateBundle
(String name, SslBundle updatedBundle) Updates anSslBundle
.
-
Method Details
-
registerBundle
Register a namedSslBundle
.- Parameters:
name
- the bundle namebundle
- the bundle
-
updateBundle
Updates anSslBundle
.- Parameters:
name
- the bundle nameupdatedBundle
- the updated bundle- Throws:
NoSuchSslBundleException
- if the bundle cannot be found- Since:
- 3.2.0
-