Skip to content

Commit f64480d

Browse files
committed
Updated README.md
1 parent 97c5c13 commit f64480d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ Presentation Tier patterns are the top-most level of the application, this is co
5959
* [Intercepting Filter](#intercepting-filter)
6060

6161
## <a name="intercepting-filter">Intercepting Filter</a> [&#8593;](#list-of-design-patterns)
62-
**Intent:** Provide an interfa
62+
**Intent:** Provide pluggable filters to conduct necessary pre-processing and post-processing to requests from a client to a target
6363

64-
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/abstract-factory/etc/abstract-factory_1.png "Abstract Factory")
64+
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/abstract-factory/etc/abstract-factory_1.png "Intercepting Filter")
6565

6666
**Applicability:** Use the Intercepting Filter pattern when
67-
* Used when system uses pre-processing or post-processing requests
68-
* a family of related product objects is designed to be used together, and you need to enforce this constraint
69-
* you want to provide a class library of products, and you want to reveal just their interfaces, not their implementations
67+
* a system uses pre-processing or post-processing requests
68+
* a system should do the authentication/ authorization/ logging or tracking of request and then pass the requests to corresponding handlers
69+
* you want a modular approach to configuring pre-processing and post-processing schemes
7070

7171
**Real world examples:**
7272
* [javax.xml.parsers.DocumentBuilderFactory](http://docs.oracle.com/javase/8/docs/api/javax/xml/parsers/DocumentBuilderFactory.html)

0 commit comments

Comments
 (0)