Visitar URL original
java-design-pattern/wiki/Chain-Of-Responsibility.md at master · mquan86/java-design-pattern · GitHub
Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 548 Bytes

Chain-Of-Responsibility.md

File metadata and controls

13 lines (8 loc) · 548 Bytes

Chain Of Responsibility

Pattern

Build a chain of processing unit. Every unit will process the request and then pass to next processing unit.

Recognized by the behavior method invoke the same method in another same type instance.

Example

A document converter will work independently on every type of format. Whenever a converter is done, it will pass to next converter.