
OpenFrame::Segment::HTTP::Request - creates an OpenFrame::Request object from an HTTP::Request

use OpenFrame::Segment::HTTP::Request; my $response_creator = OpenFrame::Segment::HTTP::Request->new(); $pipeline->add_segment( $request );

OpenFrame::Segment::HTTP::Request inherits from Pipeline::Segment and is used to turn an HTTP::Request object into an OpenFrame::Request. Additionally it provides the respond() method that acts as a get/set method to decide whether or not OpenFrame::Segment::HTTP::Request places an OpenFrame::Segment::HTTP::Response segment on the pipeline cleanup list. By default respond() is set to a true value.

James A. Duncan <jduncan@fotango.com>

OpenFrame::Segment::HTTP::Response, Pipeline::Segment