File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 > [ ↑ ; ] ( #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 )
You can’t perform that action at this time.
0 commit comments