Wombat::Core::RequestDispatcher - request dispatcher implementation
Implementation of Servlet::RequestDispatcher that allows a request to be forwardd to a different resource to create a response, or to include the output of another resource in the response from this resource.
Construct and return an instance, initializing fields appropriately.
Parameters:
the Wombat::Core::Wrapper associated with the resource being dispatched to
Forward the specified Request and Response to another resource for processing. Any exception thrown by the called servlet will be propagated to the caller.
the Servlet::ServletRequest to be forwarded
the Servlet::ServletResponse to be forwarded
Throws:
if a servlet exception occurs
if the response has already been committed
if an input or output exception occurs
Include the Response from another resource in the current Response. Any exception thrown by the called servlet will be propagated to the caller.
the Servlet::ServletRequest to be included
the Servlet::ServletResponse to be included
Servlet::RequestDispatcher, Servlet::ServletRequestWrapper, Servlet::ServletResponseWrapper, Wombat::Core::Application
Brian Moseley, bcm@maz.org
To install Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wombat
CPAN shell
perl -MCPAN -e shell install Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.