PET::ActionMapper::Subdir

PET::ActionMapper::Subdir

This is a subclass of PET::ActionMapper, which implement URI mappings in a way that each slash (/) in the URI is mapperd to a package separator (::).

For example: http://foo.com/bar/foo.pet maps to YourApi::bar->ACTION_foo().

Basically it’s the same as PET::ActionMapper::Single, but the slash separator defines a subclass by using “::”.

Note that the base URI (/) is mapped to “ROOT”, so for example http://foo.bar/zoh.pet will be mapped to YourApi::ROOT->ACTION_zoh().

Summary
PET::ActionMapper::SubdirThis is a subclass of PET::ActionMapper, which implement URI mappings in a way that each slash (/) in the URI is mapperd to a package separator (::).
Functions
resolveCallSee PET::ActionMapper.

Functions

resolveCall

sub resolveCall

See PET::ActionMapper.

Class to map URI-s to ACTION-s.
sub resolveCall
See PET::ActionMapper.
The simplest PET::ActionMapper subclass.
Close