---
name: "Jifty::Plugin::RequestInspector"
section: "3pm"
platform: "linux"
package: "libjifty-perl"
version: "1.10518+dfsg-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::Plugin::RequestInspector"
---

# Jifty::Plugin::RequestInspector(3pm)

Inspect requests

## 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.
