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.

add_request

Adds the current request inspection to the data store.

last_id

Returns the most recent request ID.

get_plugin_data RequestID, Plugin::Name

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

get_all_plugin_data Plugin::Name

Returns the opaque plugin data for all requests, for a given 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 default values.

should_handle_request CGI

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

version

This plugin is versioned because it provides model classes.