org.apache.catalina.servlets
Class InvokerServlet
HttpServlet
org.apache.catalina.servlets.InvokerServlet
- ContainerServlet
public final class InvokerServlet
extends HttpServlet
The default servlet-invoking servlet for most web applications,
used to serve requests to servlets that have not been registered
in the web application deployment descriptor.
Version:
- Craig R. McClanahan
void | destroy() - Finalize this servlet.
|
void | doGet(HttpServletRequest request, HttpServletResponse response) - Process a GET request for the specified resource.
|
void | doHead(HttpServletRequest request, HttpServletResponse response) - Process a HEAD request for the specified resource.
|
void | doPost(HttpServletRequest request, HttpServletResponse response) - Process a POST request for the specified resource.
|
Wrapper | getWrapper() - Return the Wrapper with which we are associated.
|
void | init() - Initialize this servlet.
|
void | serveRequest(HttpServletRequest request, HttpServletResponse response) - Serve the specified request, creating the corresponding response.
|
void | setWrapper(Wrapper wrapper) - Set the Wrapper with which we are associated.
|
destroy
public void destroy()
Finalize this servlet.
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
Process a GET request for the specified resource.
request
- The servlet request we are processingresponse
- The servlet response we are creating
doHead
public void doHead(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
Process a HEAD request for the specified resource.
request
- The servlet request we are processingresponse
- The servlet response we are creating
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
Process a POST request for the specified resource.
request
- The servlet request we are processingresponse
- The servlet response we are creating
init
public void init()
throws ServletException
Initialize this servlet.
serveRequest
public void serveRequest(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
Serve the specified request, creating the corresponding response.
After the first time a particular servlet class is requested, it will
be served directly (like any registered servlet) because it will have
been registered and mapped in our associated Context.
request
- The servlet request we are processingresponse
- The servlet response we are creating
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.