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.
org.springframework.web.HttpRequestHandler , org.springframework.web.servlet.DispatcherServlet
| Modifier and Type | Field and Description |
|---|---|
| private HttpRequestHandler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | init()
Overrides jakarta. super.init(config).
|
| protected void | service(HttpServletRequest
the request, HttpServletResponse HttpServletRequest object that contains the request the client made of the servletthe response)HttpServletResponse object that contains the response the servlet returns to the clientOverrides jakarta. service method and dispatches them to the
doMethod methods defined in this class.
|
| target | back to summary |
|---|---|
| private HttpRequestHandler target
| |
| HttpRequestHandlerServlet | back to summary |
|---|---|
| public HttpRequestHandlerServlet() | |
| init | back to summary |
|---|---|
| public void init() throws ServletException Overrides jakarta. Doc from jakarta. A convenience method which can be overridden so that there's no need to call
Instead of overriding
| |
| service | back to summary |
|---|---|
| protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException Overrides jakarta. Doc from jakarta. Receives standard HTTP requests from the public
| |