| RDF-Server documentation | Contained in the RDF-Server distribution. |
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.
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.
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.
James Smith, <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.
| RDF-Server documentation | Contained in the RDF-Server distribution. |
package RDF::Server::Interface; use Moose::Role; requires 'handle_request'; no Moose::Role; 1; __END__