public class

HttpRequestHandlerServlet

extends HttpServlet
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ org.springframework.web.context.support.HttpRequestHandlerServlet

Class Overview

Simple HttpServlet that delegates to an HttpRequestHandler bean defined in Spring's root web application context. The target bean name must match the HttpRequestHandlerServlet servlet-name as defined in web.xml.

This can for example be used to expose a single Spring remote exporter, such as HttpInvokerServiceExporter or HessianServiceExporter, per HttpRequestHandlerServlet definition. This is a minimal alternative to defining remote exporters as beans in a DispatcherServlet context (with advanced mapping and interception facilities being available there).

Summary

Public Constructors
HttpRequestHandlerServlet()
Public Methods
void init()
Protected Methods
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

Public Constructors

public HttpRequestHandlerServlet ()

Public Methods

public void init ()

Throws
ServletException

Protected Methods

protected void service (HttpServletRequest request, HttpServletResponse response)

Throws
ServletException
IOException