Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Jifty::Response(3)    User Contributed Perl Documentation   Jifty::Response(3)

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

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.

perl v5.24.1			  2013-01-29		    Jifty::Response(3)

NAME | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Jifty::Response&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help