Class AdditionalServlets
java.lang.Object
org.apache.pulsar.broker.web.plugin.servlet.AdditionalServlets
- All Implemented Interfaces:
AutoCloseable
A collection of loaded additional servlets.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static AdditionalServletsload(PulsarConfiguration conf) Load the additional servlet for the given servlet name list.
-
Constructor Details
-
AdditionalServlets
-
-
Method Details
-
load
Load the additional servlet for the given servlet name list.- Parameters:
conf- the pulsar service configuration- Returns:
- the collection of additional servlet
- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-