What are the entities of the Intercepting Filter pattern?
- Factory, Product, Concrete Product, Creator
- Filter, Filter Chain, Target, Filter Manager
- Observer, Subject, Client, Concrete Observer
- Singleton, Thread Safe Singleton, Lazy Initialization
The entities of the Intercepting Filter pattern are: Filter, Filter Chain, Target, and Filter Manager. The Filter performs the pre-processing on the request, the Filter Chain holds a list of filters and passes the request to each one, the Target is the resource that handles the request, and the Filter Manager manages the filters and decides which filter to use.
Loading...