RDF::Server::Role::Handler - manages handling part of a URL path


RDF-Server documentation  | view source Contained in the RDF-Server distribution.

Index


NAME

Top

RDF::Server::Role::Handler - manages handling part of a URL path

SYNOPSIS

Top

 package My::Handler

 use Moose;

 with 'RDF::Server::Role::Handler';
 with 'RDF::Server::Role::Renderable';

 sub render { ... }

DESCRIPTION

Top

A URL handler maps URL paths to handler objects.

CONFIGURATIOn

Top

path_prefix : Str

METHODS

Top

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

Top

James Smith, <jsmith@cpan.org>

LICENSE

Top

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  | view source Contained in the RDF-Server distribution.