{ Wiki Markup
Scrollbar |
---|
The PipelineBuilder Service is a service used to create pipelines, also known as filter chains. An example of this is the Filter and FilterChain interfaces inside the Servlet API.
...
What the builder accomplishes is to represent each filter in the pipeline as an instance of the service interface.
Pipeline Calling Sequence
...
Here, we create the terminator for the pipeline as an inner class instance, and feed that into the builder. The result is a new service that encapsulates the entire pipeline. When there are no filters, this is just the terminator.
Scrollbar |
---|
{scrollbar} Wiki Markup