| org.apache.catalina.Mapper
All known Subclasses: org.apache.catalina.core.StandardHostMapper, org.apache.catalina.core.FastEngineMapper, org.apache.catalina.core.StandardContextMapper, org.apache.catalina.core.StandardEngineMapper,
Mapper | public interface Mapper (Code) | | Interface defining methods that a parent Container may implement to select
a subordinate Container to process a particular Request, optionally
modifying the properties of the Request to reflect the selections made.
A typical Container may be associated with a single Mapper that processes
all requests to that Container, or a Mapper per request protocol that allows
the same Container to support multiple protocols at once.
author: Craig R. McClanahan version: $Revision: 1.3 $ $Date: 2001/07/22 20:13:30 $ |
Method Summary | |
public Container | getContainer() Return the Container with which this Mapper is associated. | public String | getProtocol() Return the protocol for which this Mapper is responsible. | public Container | map(Request request, boolean update) Return the child Container that should be used to process this Request,
based upon its characteristics. | public void | setContainer(Container container) Set the Container with which this Mapper is associated. | public void | setProtocol(String protocol) Set the protocol for which this Mapper is responsible. |
getContainer | public Container getContainer()(Code) | | Return the Container with which this Mapper is associated.
|
getProtocol | public String getProtocol()(Code) | | Return the protocol for which this Mapper is responsible.
|
map | public Container map(Request request, boolean update)(Code) | | Return the child Container that should be used to process this Request,
based upon its characteristics. If no such child Container can be
identified, return null instead.
Parameters: request - Request being processed Parameters: update - Update the Request to reflect the mapping selection? |
setContainer | public void setContainer(Container container)(Code) | | Set the Container with which this Mapper is associated.
Parameters: container - The newly associated Container exception: IllegalArgumentException - if this Container is notacceptable to this Mapper |
setProtocol | public void setProtocol(String protocol)(Code) | | Set the protocol for which this Mapper is responsible.
Parameters: protocol - The newly associated protocol |
|
|