GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Jifty::Handler(3) User Contributed Perl Documentation Jifty::Handler(3)

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

  use Jifty;
  Jifty->new();

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

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.

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

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

Initialize all of our view handlers.

Returns the Jifty view handler for "ClassName".

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

Returns a closure for PSGI application.

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 call "handle_request".

Dispatchers should call this at the end of each request, as a class method. It flushes the session to disk, as well as flushing Jifty::DBI's cache.
2013-01-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.