1.5.1. Chain of Responsibility Intent

From the book:

Intent: “Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.” (GoF 1994, p. 223)

Figure 6. Structure of the chain-of-responsibility design pattern.

We use the chain-of-responsibility pattern to make our method-handling code easier to understand. 

Complete and Continue