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::Response
Canonical internal representation of the result of a L<Jifty::Action>

Jifty::Response - Canonical internal representation of the result of a L<Jifty::Action>


NAME

Jifty::Response - Canonical internal representation of the result of a the Jifty::Action manpage


DESCRIPTION

The answer to a the Jifty::Request manpage is a Jifty::Response object. Currently, the response object exists merely to collect the the Jifty::Result manpage objects of each the Jifty::Action manpage that ran.

new

Creates a new the Jifty::Response manpage object.

add_header KEY => VALUE

Add an HTTP header to the outgoing HTTP response.

headers

Returns an array of key-value pairs of all the HTTP headers we want to stick on the outgoing HTTP request.

result MONIKER [RESULT]

Gets or sets the the Jifty::Result manpage of the the Jifty::Action manpage with the given MONIKER.

results

Returns a hash which maps moniker to its the Jifty::Result manpage

messages

Returns the aggregate messages of all of the the Jifty::Result manpages.

error [MESSAGE]

Gets or sets a generalized error response. Setting an error also makes the response a failure.

success

Returns true if none of the results are failures and there is no error set.

failure

Returns true if any of the results failed or there was an error set.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy