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


Manual Reference Pages  -  JIFTY::RESPONSE (3)

.ds Aq ’

NAME

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

CONTENTS

DESCRIPTION

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

    new

Default the status to 200.

    add_header NAME VALUE

Deprecated. Use header(NAME, VALUE)

    result MONIKER [RESULT]

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

    results

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

    messages

Returns the aggregate messages of all of the Jifty::Results.

    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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JIFTY::RESPONSE (3) 2011-01-05

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