Movatterモバイル変換


[0]ホーム

URL:


 / 
Jifty-1.50430
River stage two • 33 direct dependents • 33 total dependents
/Jifty::Handler

NAME

Jifty::Handler - Methods related to the finding and returning content

SYNOPSIS

use Jifty;Jifty->new();my $handler = Jifty::Handler->new;$handler->handle_request( $env );

DESCRIPTION

Jifty::Handler provides methods required to find and return content to the browser."handle_request", for instance, is the main entry point for HTTP requests.

new

Create a new Jifty::Handler object. Generally, Jifty.pm does this only once at startup.

view_handlers

Returns a list of modules implementing view for your Jifty application.

You can override this by specifying:

framework:    View:       Handlers:          - Jifty::View::Something::Handler          - Jifty::View::SomethingElse::Handler

setup_view_handlers

Initialize all of our view handlers.

view ClassName

Returns the Jifty view handler forClassName.

psgi_app_static

Returns a closure forPSGI application that handles all static content, including plugins.

psgi_app

Returns a closure forPSGI application.

handle_request

When your server process (be it Jifty-internal, FastCGI or anything else) wants to handle a request coming in from the outside world, you should callhandle_request.

cleanup_request

Dispatchers should call this at the end of each request, as a class method. It flushes the session to disk, as well as flushingJifty::DBI's cache.

Module Install Instructions

To install Jifty, copy and paste the appropriate command in to your terminal.

cpanm

cpanm Jifty

CPAN shell

perl -MCPAN -e shellinstall Jifty

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp