0 votes
in Design Patterns by (7.4k points)

Chain of Responsibility pattern

1 Answer

0 votes
by (7.4k points)

As the name suggests, the chain of responsibility pattern creates a chain of receiver objects for a request. This pattern decouples sender and receiver of a request based on type of request. This pattern comes under behavioral patterns.

In this pattern, normally each receiver contains reference to another receiver. If one object cannot handle the request then it passes the same to the next receiver and so on.

Related questions

...