如同真实世界里的水管中的阀门,它可以控制和改变液体的流向,Valve
也可以控制pipeline中后续valves的执行。 Valve
可以决定是否继续执行后续的valves,或是中断整个pipeline的执行。
A Valve is a request processing component associated with a particular Container. A series of Valves are generally associated with each other into a Pipeline. The detailed contract for a Valve is included in the description of the invoke()
method below.
HISTORICAL NOTE: The "Valve" name was assigned to this concept because a valve is what you use in a real world pipeline to control and/or modify flows through it. @author Craig R. McClanahan @author Gunnar Rjnning @version $Revision: 1.2 $ $Date: 2000/01/24 08:31:30 $
|
|
|
|
|
|
|
|
|
|
|
|