| java.lang.Object org.apache.catalina.core.StandardEngineMapper
StandardEngineMapper | public class StandardEngineMapper implements Mapper(Code) | | Implementation of Mapper for an Engine ,
designed to process HTTP requests. This mapper selects an appropriate
Host based on the server name included in the request.
IMPLEMENTATION NOTE: This Mapper only works with a
StandardEngine , because it relies on internal APIs.
author: Craig R. McClanahan version: $Revision: 1.5 $ $Date: 2001/07/22 20:25:08 $ |
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 |
|
|