org.apache.catalina.core

Class StandardValveContext

Implemented Interfaces:
ValveContext

public final class StandardValveContext
extends java.lang.Object
implements ValveContext

Standard implementation of a ValveContext.

Authors:
Craig R. McClanahan
Remy Maucherat

Field Summary

protected Valve
basic
protected String
info
protected static StringManager
sm
The string manager for this package.
protected int
stage
protected Valve[]
valves

Method Summary

String
getInfo()
Return descriptive information about this ValveContext implementation.
void
invokeNext(Request request, Response response)
Cause the invoke() method of the next Valve that is part of the Pipeline currently being processed (if any) to be executed, passing on the specified request and response objects plus this ValveContext instance.

Field Details

basic

protected Valve basic


info

protected String info


sm

protected static StringManager sm
The string manager for this package.


stage

protected int stage


valves

protected Valve[] valves

Method Details

getInfo

public String getInfo()
Return descriptive information about this ValveContext implementation.
Specified by:
getInfo in interface ValveContext


invokeNext

public final void invokeNext(Request request,
                             Response response)
            throws IOException,
                   ServletException
Cause the invoke() method of the next Valve that is part of the Pipeline currently being processed (if any) to be executed, passing on the specified request and response objects plus this ValveContext instance. Exceptions thrown by a subsequently executed Valve (or a Filter or Servlet at the application level) will be passed on to our caller. If there are no more Valves to be executed, an appropriate ServletException will be thrown by this ValveContext.
Specified by:
invokeNext in interface ValveContext

Parameters:
request - The request currently being processed
response - The response currently being created


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.