public class

SpringManagedServlet

extends HttpServlet
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ com.atlassian.confluence.servlet.SpringManagedServlet

Class Overview

Servlet that defers all its execution to a Spring-bean. The bean is specified by the "springComponentName" servlet init parameter, and must implement the ServletManager interface.

Primarily used for the SOAP and XML-RPC servlets, as their lifecycle has to be managed through the Spring container as plugins are reloaded.

Summary

Constants
String COMPONENT_NAME_KEY
Fields
public static final Category log
Public Constructors
SpringManagedServlet()
Public Methods
void destroy()
void init(ServletConfig servletConfig)
void service(HttpServletRequest request, HttpServletResponse response)
[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

Constants

public static final String COMPONENT_NAME_KEY

Constant Value: "springComponentName"

Fields

public static final Category log

Public Constructors

public SpringManagedServlet ()

Public Methods

public void destroy ()

public void init (ServletConfig servletConfig)

Throws
ServletException

public void service (HttpServletRequest request, HttpServletResponse response)

Throws
IOException
ServletException