Jesse Vincent > Jifty > Jifty::Server

Download:
Jifty-0.70824.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  4
Stalled  1
View/Report Bugs
Source   Latest Release: Jifty-0.91117

NAME ^

Jifty::Server - Stand-alone server implementation for Jifty

SYNOPSIS ^

  use Jifty::Server;
  my $server = Jifty::Server->new();
  $server->run();

DESCRIPTION ^

Jifty::Server is a subclass of HTTP::Server::Simple which creates a handy standalone web server for a lightweight Jifty application.

METHODS ^

new

Creates a new Jifty::Server object.

setup_jifty

Sets up the Jifty singleton. This is called automatically by "new".

handle_request

Overrives HTML::Server::Simple::Mason's handle_request method to make use of Module::Refresh to refresh any relevant modules, as well as to set up the $JiftyWeb global before handling the actual request.

print_banner

Overrives HTML::Server::Simple::Mason's print_banner to use the logging framework to record the server's startup

recorder_prefix

Returns the filename prefix used if HTTP::Server::Simple::Recorder support is being used.

recording_on

Sets this server to use HTTP::Server::Simple::Recorder.

(See also the JIFTY_RECORD environment variable and the -r switch to standalone_server.)

after_setup_listener

If $ENV{JIFTY_SERVER_SIGREADY} is set, send the signal to the parent when the server is ready for requests.

syntax highlighting: