You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -496,6 +496,9 @@ In Template Method the algorithm is chosen at compile time via inheritance. With
496
496
497
497
The difference is the intent of the patterns. While Proxy controls access to the object Decorator is used to add responsibilities to the object.
498
498
499
+
**<aid="Q4">Q: What is the difference between Chain of Responsibility and Intercepting Filter patterns?</a>**
500
+
501
+
While the implementations look similar there are differences. The Chain of Responsibility forms a chain of request processors and the processors are then executed one by one until the correct processor is found. In Intercepting Filter the chain is constructed from filters and the whole chain is always executed.
0 commit comments