Class AdditionalServlets

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class AdditionalServlets
    extends java.lang.Object
    implements java.lang.AutoCloseable
    A collection of loaded additional servlets.
    • Method Detail

      • load

        public static AdditionalServlets load​(PulsarConfiguration conf)
                                       throws java.io.IOException
        Load the additional servlet for the given servlet name list.
        Parameters:
        conf - the pulsar service configuration
        Returns:
        the collection of additional servlet
        Throws:
        java.io.IOException
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable