NAME

OpenInteract2::Setup::RegisterRequestAndResponse - Register all request and response implementations declared in server configuration

SYNOPSIS

my $setup = OpenInteract2::Setup->new( 'register request response' );
$setup->run();

my $request = OpenInteract2::Request->new( ... );
my $response = OpenInteract2::Response->new( ... );

DESCRIPTION

This setup action just registers all the request and response implementations found in the server configuration keys 'request' and 'response'.

Note that 'register' does not mean 'include'. So with the following implementations:

[request]
apache     = OpenInteract2::Request::Apache
apache2    = OpenInteract2::Request::Apache2
cgi        = OpenInteract2::Request::CGI
lwp        = OpenInteract2::Request::LWP
standalone = OpenInteract2::Request::Standalone

None of the classes are actually brought in until you ask for an object of that type.

Setup Metadata

name - 'register request response'

dependencies - default

SEE ALSO

OpenInteract2::Setup

COPYRIGHT

Copyright (c) 2005 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>