Files
java-design-patterns/intercepting-filter
Mughees Qasim 3ae6b07590 refactoring: Issue #2377: The repository code has been refactored to use the recor… (#2505)
* 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
2023-05-06 12:08:12 +03:00
..
2019-12-07 18:03:49 +02:00
2022-09-14 23:22:24 +05:30

title, category, language, tag
title category language tag
Intercepting Filter Behavioral en
Decoupling

Intent

Provide pluggable filters to conduct necessary pre-processing and post-processing to requests from a client to a target

Class diagram

alt text

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

Tutorials

Real world examples

Credits