org.apache.catalina.valves
クラス RemoteHostValve

java.lang.Object
  |
  +--org.apache.catalina.valves.ValveBase
        |
        +--org.apache.catalina.valves.RequestFilterValve
              |
              +--org.apache.catalina.valves.RemoteHostValve
すべての実装インタフェース:
Contained, Valve

public final class RemoteHostValve
extends RequestFilterValve

Concrete implementation of RequestFilterValve that filters based on the string representation of the remote client's IP address.

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

クラス org.apache.catalina.valves.RequestFilterValve から継承したフィールド
allow, allows, denies, deny, sm
 
クラス org.apache.catalina.valves.ValveBase から継承したフィールド
container, info
 
コンストラクタの概要
RemoteHostValve()
           
 
メソッドの概要
 java.lang.String getInfo()
          Return descriptive information about this Valve implementation.
 void invoke(Request request, Response response, ValveContext context)
          Extract the desired request property, and pass it (along with the specified request and response objects) to the protected process() method to perform the actual filtering.
 
クラス org.apache.catalina.valves.RequestFilterValve から継承したメソッド
getAllow, getDeny, precalculate, process, setAllow, setDeny
 
クラス org.apache.catalina.valves.ValveBase から継承したメソッド
getContainer, setContainer
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RemoteHostValve

public RemoteHostValve()
メソッドの詳細

getInfo

public java.lang.String getInfo()
Return descriptive information about this Valve implementation.
オーバーライド:
クラス RequestFilterValve 内の getInfo

invoke

public void invoke(Request request,
                   Response response,
                   ValveContext context)
            throws java.io.IOException,
                   javax.servlet.ServletException
Extract the desired request property, and pass it (along with the specified request and response objects) to the protected process() method to perform the actual filtering. This method must be implemented by a concrete subclass.
オーバーライド:
クラス RequestFilterValve 内の invoke
パラメータ:
request - The servlet request to be processed
response - The servlet response to be created
context - The valve context used to invoke the next valve in the current processing pipeline
例外:
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet error occurs


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