public class

DelegatingPluginServlet

extends HttpServlet
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ com.atlassian.plugin.servlet.DelegatingPluginServlet

Class Overview

We are wrapping the plugins servlet in another servlet so that we can set some things up before the plugins servlet is called. Currently we do the following:

  • the Threads classloader to the plugins classloader)
  • wrap the request so that path info is right for the servlets

Summary

Public Constructors
DelegatingPluginServlet(ServletModuleDescriptor descriptor)
Public Methods
void destroy()
boolean equals(Object obj)
String getInitParameter(String name)
Enumeration<String> getInitParameterNames()
ServletModuleDescriptor getModuleDescriptor()
ServletConfig getServletConfig()
ServletContext getServletContext()
String getServletInfo()
String getServletName()
int hashCode()
void init()
void init(ServletConfig config)
void log(String message, Throwable t)
void log(String msg)
void service(HttpServletRequest req, HttpServletResponse res)
String toString()
[Expand]
Inherited Methods
From class javax.servlet.http.HttpServlet
From class javax.servlet.GenericServlet
From class java.lang.Object
From interface javax.servlet.Servlet
From interface javax.servlet.ServletConfig

Public Constructors

public DelegatingPluginServlet (ServletModuleDescriptor descriptor)

Public Methods

public void destroy ()

public boolean equals (Object obj)

public String getInitParameter (String name)

public Enumeration<String> getInitParameterNames ()

public ServletModuleDescriptor getModuleDescriptor ()

public ServletConfig getServletConfig ()

public ServletContext getServletContext ()

public String getServletInfo ()

public String getServletName ()

public int hashCode ()

public void init ()

Throws
ServletException

public void init (ServletConfig config)

Throws
ServletException

public void log (String message, Throwable t)

public void log (String msg)

public void service (HttpServletRequest req, HttpServletResponse res)

Throws
IOException
ServletException

public String toString ()