public class HttpRequestHandlerServlet
extends javax.servlet.http.HttpServlet
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).
HttpRequestHandler
,
DispatcherServlet
,
Serialized FormConstructor and Description |
---|
HttpRequestHandlerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2015. All rights reserved.