责任链模式


责任链模式
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.

你可能感兴趣的:(责任链模式)