Interface AdditionalServlet

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
AdditionalServletWithClassLoader

@Beta public interface AdditionalServlet extends AutoCloseable
The additional servlet interface for support additional servlet.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Get the base path of prometheus metrics.
    org.eclipse.jetty.servlet.ServletHolder
    Get the servlet holder.
    void
    loadConfig(PulsarConfiguration pulsarConfiguration)
    load plugin config.
  • Method Details

    • loadConfig

      void loadConfig(PulsarConfiguration pulsarConfiguration)
      load plugin config.
      Parameters:
      pulsarConfiguration -
    • getBasePath

      String getBasePath()
      Get the base path of prometheus metrics.
      Returns:
      the base path of prometheus metrics
    • getServletHolder

      org.eclipse.jetty.servlet.ServletHolder getServletHolder()
      Get the servlet holder.
      Returns:
      the servlet holder
    • close

      void close()
      Specified by:
      close in interface AutoCloseable