#354 Add maven model for feature toggle design pattern

This commit is contained in:
Joseph McCarthy
2016-01-25 21:14:24 +00:00
parent cf10bd1d05
commit d7526fc7c0
86 changed files with 1165 additions and 270 deletions

View File

@ -9,22 +9,24 @@ tags:
- Difficulty-Intermediate
---
**Intent:** Provide pluggable filters to conduct necessary pre-processing and
## Intent
Provide pluggable filters to conduct necessary pre-processing and
post-processing to requests from a client to a target
![alt text](./etc/intercepting-filter.png "Intercepting Filter")
**Applicability:** Use the Intercepting Filter pattern when
## Applicability
Use the Intercepting Filter pattern when
* a system uses pre-processing or post-processing requests
* a system should do the authentication/ authorization/ logging or tracking of request and then pass the requests to corresponding handlers
* you want a modular approach to configuring pre-processing and post-processing schemes
**Real world examples:**
## Real world examples
* [Struts 2 - Interceptors](https://struts.apache.org/docs/interceptors.html)
**Credits:**
## Credits
* [TutorialsPoint - Intercepting Filter](http://www.tutorialspoint.com/design_pattern/intercepting_filter_pattern.htm)
* [Presentation Tier Patterns](http://www.javagyan.com/tutorials/corej2eepatterns/presentation-tier-patterns)