added intercepting filter

This commit is contained in:
Josh
2015-04-04 04:54:56 +08:00
parent f753d68d1b
commit 6d4e47311a
14 changed files with 310 additions and 289 deletions

View File

@ -430,7 +430,7 @@ Presentation Tier patterns are the top-most level of the application, this is co
## <a name="intercepting-filter">Intercepting Filter</a> [&#8593;](#list-of-design-patterns)
**Intent:** Provide pluggable filters to conduct necessary pre-processing and post-processing to requests from a client to a target
![alt text](https://github.com/joshzambales/java-design-patterns/blob/master/intercepting-filter/etc/Intercepting-filter.png "Intercepting Filter")
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/intercepting-filter/etc/Intercepting-filter.png "Intercepting Filter")
**Applicability:** Use the Intercepting Filter pattern when
* a system uses pre-processing or post-processing requests