NAME
Blosxom::Plugin::Request - Object represents CGI request
SYNOPSIS
use Blosxom::Plugin::Request;
my $request = Blosxom::Plugin::Request->instance;
my $method = $request->method; # GET
my $path_info_mo_num = $request->path_info->{mo_num}; # 07
my $flavour = $request->flavour; # rss
my $page = $request->param( 'page' ); # 12
my $id = $request->cookies( 'ID' ); # 123456
DESCRIPTION
Object represents CGI request.
METHODS
- Blosxom::Plugin::Request->begin
-
Exports
instance()
into context class asrequest()
.req()
is an alias. - $request = Blosxom::Plugin::Request->instance
-
Returns a current Blosxom::Header object instance or create a new one.
- $request = Blosxom::Plugin::Request->has_instance
-
Returns a reference to any existing instance or
undef
if none is defined. - $request->path_info
- $request->flavour
- $request->param
- $request->method
- $request->content_type
- $request->referer
- $request->remote_host
- $request->user_agent
- $request->address
SEE ALSO
Blosxom::Plugin, Plack::Request, Class::Singleton
AUTHOR
Ryo Anazawa
LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.