NAME
Wombat::Servlet::InvokerServlet - servlet that invokes other servlets
DESCRIPTION
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.
CONSTRUCTOR
ACCESSOR METHODS
- getWrapper()
-
Return the Wrapper that wraps this Servlet.
- setWrapper($wrapper)
-
Set the Wrapper that wraps this Servlet.
Parameters:
PUBLIC METHODS
- doDelete($request, $response)
-
Process a DELETE request for the specified resource.
Parameters:
- $request
-
the Servlet::Http::HttpServletRequest object that contains the client request
- $response
-
the Servlet::Http::HttpServletResponse object that contains the servlet response
Throws:
- doGet($request, $response)
-
Process a GET request for the specified resource.
Parameters:
- $request
-
the Servlet::Http::HttpServletRequest object that contains the client request
- $response
-
the Servlet::Http::HttpServletResponse object that contains the servlet response
Throws:
- doHead($request, $response)
-
Process a HEAD request for the specified resource.
Parameters:
- $request
-
the Servlet::Http::HttpServletRequest object that contains the client request
- $response
-
the Servlet::Http::HttpServletResponse object that contains the servlet response
Throws:
- doPost($request, $response)
-
Process a POST request for the specified resoruce.
Parameters:
- $request
-
the Servlet::Http::HttpServletRequest object that contains the client request
- $response
-
the Servlet::Http::HttpServletResponse object that contains the servlet response
Throws:
- doPut($request, $response)
-
Process a PUT request for the specified resource.
Parameters:
- $request
-
the Servlet::Http::HttpServletRequest object that contains the client request
- $response
-
the Servlet::Http::HttpServletResponse object that contains the servlet response
Throws:
- init([$config])
-
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
This implementation stores the config object it receives from the servlet container for later use. When overriding this method, make sure to call
$self->SUPER::init($config)
Parameters:
Throws:
SEE ALSO
AUTHOR
Brian Moseley, bcm@maz.org