Pipeline
Now it is time to take a closer look at the container's core request processing element.
As we have seen already, an org.apache.catalina.Pipeline
represents a series of filters, each of which is represented by an org.apache.catalina.Valve
instance, that a request must pass through on its way into a Container
, and that a response must pass through on its way out of that Container
.
Pipeline execution scope
A pipeline's scope is determined by the container within which it is nested. The pipeline associated with an engine is invoked by the CoyoteAdapter
, at the boundary between the connector subsystem and the Catalina engine. As a result, it will process every request that is received by any connector associated with that engine. In other words, ...
Get Tomcat 6 Developer's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.