| java.lang.Object org.apache.catalina.core.StandardHostMapper
StandardHostMapper | public class StandardHostMapper implements Mapper(Code) | | Implementation of Mapper for a Host ,
designed to process HTTP requests. This mapper selects an appropriate
Context based on the request URI included in the request.
IMPLEMENTATION NOTE: This Mapper only works with a
StandardHost , because it relies on internal APIs.
author: Craig R. McClanahan version: $Revision: 1.4 $ $Date: 2002/03/14 20:58:24 $ |
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 |
|
|