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  -  CATALYST::REQUEST::REST (3)

.ds Aq ’

NAME

Catalyst::Request::REST - A REST-y subclass of Catalyst::Request

CONTENTS

SYNOPSIS



     if ( $c->request->accepts(application/json) ) {
         ...
     }

     my $types = $c->request->accepted_content_types();



DESCRIPTION

This is a subclass of Catalyst::Request that applies the Catalyst::TraitFor::Request::REST role to your request class. That trait adds a few methods to the request object to facilitate writing REST-y code.

This class is only here for backwards compatibility with applications already subclassing this class. New code should use Catalyst::TraitFor::Request::REST directly.

Catalyst::Action::REST and Catalyst::Controller::REST will arrange for the request trait to be applied if needed.

SEE ALSO

Catalyst::TraitFor::Request::REST.

AUTHORS

See Catalyst::Action::REST for authors.

LICENSE

You may distribute this code under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CATALYST::REQUEST::REST (3) 2015-10-29

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