RDF::Server::Interface::REST - REST interface
package My::Server; use RDF::Server; interface 'REST';
This module provides a REST interface based on the Atom specification (RFC 5023).
The top level handler can be any class that implements the RDF::Server::Role::Handler role. All handlers should at least implement the RDF::Server::Role::Renderable role if they are browsable. Otherwise, path components will resolve, but indexes will not be retrievable.
The leaf handlers should implement the RDF::Server::Role::Mutable role to support the full REST protocol.
The Atom semantic allows easy configuration of an Atom document heirarchy.
Given the request and response objects, this method will find the proper handler and hand off handling to the proper handler method. The response from the handler is then translated to the response object.
RDF::Server::Role::Handler, RDF::Server::Role::Renderable, RDF::Server::Role::Container, RDF::Server::Role::Mutable, RDF::Server::Semantic::Atom, RDF 5023.
James Smith, <jsmith@cpan.org>
<jsmith@cpan.org>
Copyright (c) 2008 Texas A&M University.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install RDF::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Server
CPAN shell
perl -MCPAN -e shell install RDF::Server
For more information on module installation, please visit the detailed CPAN module installation guide.