Name : perl-Catalyst-Action-REST
| |
Version : 1.20
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2017-03-13 19:29:30
|
Group : Development/Libraries/Perl
| Source RPM : perl-Catalyst-Action-REST-1.20-1.1.src.rpm
|
Size : 0.14 MB
| |
Packager : (none)
| |
Summary : Automated REST Method Dispatching
|
Description :
This Action handles doing automatic method dispatching for REST requests. It takes a normal Catalyst action, and changes the dispatch to append an underscore and method name. First it will try dispatching to an action with the generated name, and failing that it will try to dispatch to a regular method.
For example, in the synopsis above, calling GET on \"/foo\" would result in the foo_GET method being dispatched.
If a method is requested that is not implemented, this action will return a status 405 (Method Not Found). It will populate the \"Allow\" header with the list of implemented request methods. You can override this behavior by implementing a custom 405 handler like so:
sub foo_not_implemented { ... handle not implemented methods ... }
If you do not provide an _OPTIONS subroutine, we will automatically respond with a 200 OK. The \"Allow\" header will be populated with the list of implemented request methods. If you do not provide an _HEAD either, we will auto dispatch to the _GET one in case it exists.
It is likely that you really want to look at the Catalyst::Controller::REST manpage, which brings this class together with automatic Serialization of requests and responses.
When you use this module, it adds the the Catalyst::TraitFor::Request::REST manpage role to your request class.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12_SP1/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Catalyst::Action::Deserialize)
perl(Catalyst::Action::Deserialize::Callback)
perl(Catalyst::Action::Deserialize::JSON)
perl(Catalyst::Action::Deserialize::JSON::XS)
perl(Catalyst::Action::Deserialize::View)
perl(Catalyst::Action::Deserialize::XML::Simple)
perl(Catalyst::Action::Deserialize::YAML)
perl(Catalyst::Action::DeserializeMultiPart)
perl(Catalyst::Action::REST)
perl(Catalyst::Action::REST::ForBrowsers)
perl(Catalyst::Action::Serialize)
perl(Catalyst::Action::Serialize::Callback)
perl(Catalyst::Action::Serialize::JSON)
perl(Catalyst::Action::Serialize::JSON::XS)
perl(Catalyst::Action::Serialize::JSONP)
perl(Catalyst::Action::Serialize::View)
perl(Catalyst::Action::Serialize::XML::Simple)
perl(Catalyst::Action::Serialize::YAML)
perl(Catalyst::Action::Serialize::YAML::HTML)
perl(Catalyst::Action::SerializeBase)
perl(Catalyst::Controller::REST)
perl(Catalyst::Request::REST)
perl(Catalyst::Request::REST::ForBrowsers)
perl(Catalyst::TraitFor::Request::REST)
perl(Catalyst::TraitFor::Request::REST::ForBrowsers)
perl-Catalyst-Action-REST
Requires :