* Moves game-loop to Java 11 * Moves guarded-suspension to Java 11 * Moves half-sync-half-async to Java 11 * Moves hexagonal to Java 11 * Moves intercepting-filter to Java 11 * Moves interpreter to Java 11 * Moves iterator to Java 11
layout, title, folder, permalink, categories, tags
layout | title | folder | permalink | categories | tags | |
---|---|---|---|---|---|---|
pattern | Intercepting Filter | intercepting-filter | /patterns/intercepting-filter/ | Behavioral |
|
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