OpenFrame::Segment::ContentLoader.3pm

Langue: en

Version: 2004-08-05 (fedora - 04/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

OpenFrame::Segment::ContentLoader - simple file based loader for web content under OpenFrame

SYNOPSIS

   use OpenFrame::Segment::ContentLoader;
 
   my $cl = OpenFrame::Segment::ContentLoader->new();
   $cl->directory("/path/to/pages");
   $pipeline->add_segment($cl);
 
 

DESCRIPTION

"OpenFrame::Segment::ContentLoader" is a pipeline segment used by OpenFrame's example webserver. It creates "OpenFrame::Response" objects. The objects it creates will either contain the contents of the file requested, an error displaying a file not found message, or an error message displaying an access forbidden message.

SEE ALSO

OpenFrame(3), Pipeline(3)

AUTHOR

James A. Duncan <jduncan@fotango.com>