Wombat::ValveContext - internal valve connection interface
This interface specifies a component that allows a Valve to trigger the execution of the next Valve in a Pipeline without having to know anything about internal implementation mechanisms. An instance of a class implementing this interface is passed as a parameter to invoke() for each executed Valve.
invoke()
Cause invoke() to be called on the next Valve in the Pipeline that is currently being processed, passing on the specified Request and Response objects plus this ValveContext instance. Exceptions thrown by a subsequently executed Valve, Filter or Servlet will be passed on to the caller.
If there are no more Valves to be executed, an appropriate ServletException will be thrown by this ValveContext.
Parameters
the Wombat::Request to be processed
the Wombat::Response to be created
Throws:
if a servlet error occurs or is thrown by a subsequently invoked Valve, Filter or Servlet, or if there are no further Valves configured in the Pipeline currently being processed
if an input or output error occurs
Servlet::Util::Exception, Wombat::Exception, Wombat::Pipeline, Wombat::Request, Wombat::Response, Wombat::Valve
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.