Wombat::Valve::ValveBase - valve base class
Convenience base implementation of Wombat::Valve.
Subclasses MUST implement
invoke() to provide the required functionality as well as
Construct and return a Wombat::Valve::ValveBase instance, initializing fields appropriately. If subclasses override the constructor, they must be sure to call
Return the Container to which this Valve is attached.
Set the Container to which this Valve is attached.
the Wombat::Container to which this Valve is attached.
Perform request processing as required by this Valve.
the Wombat::Request to be processed
the Wombat::Response to be created
the Wombat::ValveContext allowing access to the next Valve in the Pipeline being processed
Return a short name for this Valve implementation. Must be overridden by subclasses.
Prepare for active use of this component. This method should be called before any of the public methods of the component are utilized.
if the component has already been started
Gracefully terminate active use of this component. Once this method has been called, no public methods of the component should be utilized.
if the component is not started
Brian Moseley, firstname.lastname@example.org