Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Jifty::Server
Stand-alone server implementation for Jifty

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


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 the HTTP::Server::Simple manpage 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 the HTML::Server::Simple::Mason manpage's handle_request method to make use of the Module::Refresh manpage to refresh any relevant modules, as well as to set up the $JiftyWeb global before handling the actual request.

print_banner

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

recorder_prefix

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

recording_on

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

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy