The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Wombat::Core::HostMapper - core host mapper class

SYNOPSIS

DESCRIPTION

Implementation of Wombat::Mapper for a Wombat::Core::Host.

ACCESSOR METHODS

setContainer($container)

Set the Container with which the Mapper is associated.

Parameters:

$container

the Wombat::Container used for processing Requests

Throws:

Servlet::Util::IllegalArgumentException

if the Container is not acceptable to this Mapper

PUBLIC METHODS

map($request)

Return the child Container that should be used to process the Request, or undef f no such child Container can be identified.

Parameters:

$request

the Wombat::Request being processed

SEE ALSO

Servlet::Util::Exception, Wombat::Container, Wombat::Host, Wombat::Mapper, Wombat::Request

AUTHOR

Brian Moseley, bcm@maz.org