NAME
RDF::Server::Role::Handler - manages handling part of a URL path
SYNOPSIS
package My::Handler
use Moose;
with 'RDF::Server::Role::Handler';
with 'RDF::Server::Role::Renderable';
sub render { ... }
DESCRIPTION
A URL handler maps URL paths to handler objects.
CONFIGURATIOn
METHODS
- handles_path ($) (required)
-
Returns the object that is responsible for handling the request and providing any response.
- matches_path ($)
-
True if the given path is prefixed by the handler's
path_prefix
.
AUTHOR
James Smith, <jsmith@cpan.org>
LICENSE
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.