Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Chain of Responsibility Pattern

Technique

A Gang of Four behavioral design pattern that passes a request along a chain of potential handlers until one of them handles it, decoupling the sender of a request from the object that ultimately processes it.

Facts
Origin Year
1994 1
Core Principle
Passes a request along a chain of handler objects until one of them handles it, decoupling the sender of a request from the specific object that ends up processing it. 2
Connections

Associated With

Erich Gamma, Pioneers

Erich Gamma co-authored the 1994 Design Patterns book that named and catalogued the Chain of Responsibility pattern among the original 23.

In Field

Sources
1. Wikipedia: Design Patterns (book)
Wikimedia FoundationLead section, first sentence
Quote, Lead section, first sentence
Design Patterns: Elements of Reusable Object-Oriented Software (1994) is a software engineering book describing software design patterns.
View the Source
2. Wikipedia: Chain of Responsibility Pattern
Wikimedia FoundationLead section, first paragraph
Quote, Lead section, first paragraph
the chain-of-responsibility pattern is a behavioral design pattern consisting of a source of command objects and a series of processing objects. Each processing object contains logic that defines the types of command objects that it can handle; the rest are passed to the next processing object in the chain.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.