O'Reilly logo

Tomcat 6 Developer's Guide by Damodar Chetty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Valve

A Valve is an atomic request processing component that is assembled into the Pipeline of a Container. The name Valve is a metaphor for a processing unit in a real world pipeline, where a valve controls and/or modifies what flows through it.

Valve

The org.apache.catalina.Valve interface defines methods for obtaining the next Valve in the pipeline; a backgroundProcess() method to execute a periodic task; and an invoke(Request, Response) method, which performs the actual processing associated with this valve.

A Valve may act on the request and response in a number of different ways, including:

  • Examining and/or modifying the properties of the incoming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required