Class HttpRequestHandlerServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.springframework.web.context.support.HttpRequestHandlerServlet
- All Implemented Interfaces:
Servlet
,ServletConfig
,Serializable
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
.- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
protected void
service
(HttpServletRequest request, HttpServletResponse response) Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
HttpRequestHandlerServlet
public HttpRequestHandlerServlet()
-
-
Method Details
-
init
- Overrides:
init
in classGenericServlet
- Throws:
ServletException
-
service
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
service
in classHttpServlet
- Throws:
ServletException
IOException
-