Class PluginServletConfig

java.lang.Object
com.atlassian.plugin.servlet.PluginServletConfig
All Implemented Interfaces:
javax.servlet.ServletConfig

public final class PluginServletConfig extends Object implements javax.servlet.ServletConfig
Instances of the PluginServletConfig are passed to plugins servlet Servlet init() method. It provides access to the init parameters defined in the plugin xml as well as the ServletContext shared by other filters and servlets in the plugin.
  • Constructor Details

    • PluginServletConfig

      public PluginServletConfig(BaseServletModuleDescriptor<?> descriptor, javax.servlet.ServletContext servletContext)
  • Method Details

    • getServletName

      public String getServletName()
      Specified by:
      getServletName in interface javax.servlet.ServletConfig
    • getServletContext

      public javax.servlet.ServletContext getServletContext()
      Specified by:
      getServletContext in interface javax.servlet.ServletConfig
    • getInitParameter

      public String getInitParameter(String s)
      Specified by:
      getInitParameter in interface javax.servlet.ServletConfig
    • getInitParameterNames

      public Enumeration<String> getInitParameterNames()
      Specified by:
      getInitParameterNames in interface javax.servlet.ServletConfig