org.apache.catalina.valves
クラス ValveBase

java.lang.Object
  |
  +--org.apache.catalina.valves.ValveBase
すべての実装インタフェース:
Contained, Valve
直系の既知のサブクラス:
AccessLogValve, AuthenticatorBase, CertificatesValve, ErrorDispatcherValve, ErrorReportValve, RequestDumperValve, RequestFilterValve, SingleSignOn

public abstract class ValveBase
extends java.lang.Object
implements Contained, Valve

Convenience base class for implementations of the Valve interface. A subclass MUST implement an invoke() method to provide the required functionality, and MAY implement the Lifecycle interface to provide configuration management and lifecycle support.

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

フィールドの概要
protected  Container container
          The Container whose pipeline this Valve is a component of.
protected static java.lang.String info
          Descriptive information about this Valve implementation.
protected static StringManager sm
          The string manager for this package.
 
コンストラクタの概要
ValveBase()
           
 
メソッドの概要
 Container getContainer()
          Return the Container with which this Valve is associated, if any.
 java.lang.String getInfo()
          Return descriptive information about this Valve implementation.
abstract  void invoke(Request request, Response response, ValveContext context)
          The implementation-specific logic represented by this Valve.
 void setContainer(Container container)
          Set the Container with which this Valve is associated, if any.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

container

protected Container container
The Container whose pipeline this Valve is a component of.

info

protected static java.lang.String info
Descriptive information about this Valve implementation. This value should be overridden by subclasses.

sm

protected static final StringManager sm
The string manager for this package.
コンストラクタの詳細

ValveBase

public ValveBase()
メソッドの詳細

getContainer

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

setContainer

public void setContainer(Container container)
Set the Container with which this Valve is associated, if any.
定義:
インタフェース Contained 内の setContainer
パラメータ:
container - The new associated container

getInfo

public java.lang.String getInfo()
Return descriptive information about this Valve implementation.
定義:
インタフェース Valve 内の getInfo

invoke

public abstract void invoke(Request request,
                            Response response,
                            ValveContext context)
                     throws java.io.IOException,
                            javax.servlet.ServletException
The implementation-specific logic represented by this Valve. See the Valve description for the normal design patterns for this method.

This method MUST be provided by a subclass.

定義:
インタフェース Valve 内の 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.