org.apache.catalina.core
クラス StandardEngineMapper

java.lang.Object
  |
  +--org.apache.catalina.core.StandardEngineMapper
すべての実装インタフェース:
Mapper

public class StandardEngineMapper
extends java.lang.Object
implements Mapper

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.

バージョン:
$Revision: 1.5 $ $Date: 2001/07/22 20:25:08 $
作成者:
Craig R. McClanahan

コンストラクタの概要
StandardEngineMapper()
           
 
メソッドの概要
 Container getContainer()
          Return the Container with which this Mapper is associated.
 java.lang.String getProtocol()
          Return the protocol for which this Mapper is responsible.
 Container map(Request request, boolean update)
          Return the child Container that should be used to process this Request, based upon its characteristics.
 void setContainer(Container container)
          Set the Container with which this Mapper is associated.
 void setProtocol(java.lang.String protocol)
          Set the protocol for which this Mapper is responsible.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StandardEngineMapper

public StandardEngineMapper()
メソッドの詳細

getContainer

public Container getContainer()
Return the Container with which this Mapper is associated.
定義:
インタフェース Mapper 内の getContainer

setContainer

public void setContainer(Container container)
Set the Container with which this Mapper is associated.
定義:
インタフェース Mapper 内の setContainer
パラメータ:
container - The newly associated Container
例外:
java.lang.IllegalArgumentException - if this Container is not acceptable to this Mapper

getProtocol

public java.lang.String getProtocol()
Return the protocol for which this Mapper is responsible.
定義:
インタフェース Mapper 内の getProtocol

setProtocol

public void setProtocol(java.lang.String protocol)
Set the protocol for which this Mapper is responsible.
定義:
インタフェース Mapper 内の setProtocol
パラメータ:
protocol - The newly associated protocol

map

public Container map(Request request,
                     boolean update)
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.
定義:
インタフェース Mapper 内の map
パラメータ:
request - Request being processed
update - Update the Request to reflect the mapping selection?


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.