Jifty::Plugin::RequestInspector.3pm

Langue: en

Version: 2009-07-20 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Jifty::Plugin::RequestInspector - Inspect requests

DESCRIPTION

Do not use this plugin directly. Other plugins use this plugin.

METHODS

init

Sets up hooks into the request cycle.

before_request

Hooks into the request cycle to forward ``request is beginning'' and more metadata to RequestInspector plugins.

after_request

Hooks into the request cycle to forward ``request is done'' and more metadata to RequestInspector plugins.

clear_requests

Clears the list of request inspections.

get_plugin_data RequestID, Plugin::Name

Returns the opaque plugin data for a particular request ID and plugin class name.

get_request RequestID

Returns all data for a particular request ID.

requests

Returns a list of all inspections for all requests.

inspector_plugins

Returns a list of plugin instances that hook into RequestInspector.

new_request_inspection

Instantiates a new request inspection, setting up some defalt values.

should_handle_request CGI

Decides whether the request described by the CGI parameter should be handled, based on plugin configuration.