GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
POE::Component::Server::HTTPServer::ParameterParseHandler(3) User Contributed Perl Documentation POE::Component::Server::HTTPServer::ParameterParseHandler(3)

POE::Component::Server::HTTPServer::ParameterParseHandler - Parse request parameters into context

    use POE::Component::Server::HTTPServer::Handler;

    $server->handlers([ '/act/' => new_handler('ParameterParseHandler'),
                        '/act/' => \&action_handler,
                      ]);

    sub action_handler {
      my $context = shift;
      print "The 'foo' parameter is: ", $context->{param}->{foo}, "\n";
    }

ParameterParseHandler parses the request URI and body (for POST requests), and stores CGI parameters in the context. Parameters are stored as a hashref (name => value) in "$context->{param}".

Stack this handler before handlers which need to process request parameters.

Multivalued parameters are currently not currently supported.

Multipart submissions are currently not supported.

Greg Fast <gdf@speakeasy.net>

Copyright 2003 Greg Fast.

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

2004-01-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.