mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 12:58:37 +00:00
3ae6b07590
* Issue #2377: The repository code has been refactored to use the record class * Issue #2377: Refactored according to the rules defined for the repo code * Issue #2377: Refactored according to the rules defined for the repo code * Issue #2377: Refactored according to the rules defined for the repo code
title, category, language, tag
| title | category | language | tag | |
|---|---|---|---|---|
| Intercepting Filter | Behavioral | en |
|
Intent
Provide pluggable filters to conduct necessary pre-processing and post-processing to requests from a client to a target
Class diagram
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
