RDF::Server::Interface - defines how the server speaks over the protocol
package My::Interface; use Moose::Role; with 'RDF::Server::Interface';
This is a list of objects that implement the RDF::Server::Role::Handler role. These are searched by find_handler to find the handler that will handle the given path.
find_handler
Given a path, this will return the handler object that should be used to handle the request. If no such object can be found, this will return undef.
undef
N.B.: Regardless of how the request URL is constructed, find_handler expects a REST-style path to find the proper handler. This does not apply to determining what operation is done through the handler once the handler is identified.
This method is given an HTTP::Request and HTTP::Response object (in that order) representing the current request and prepared response.
RDF::Server::Interface::REST
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.