Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 527 Bytes

File metadata and controls

18 lines (13 loc) · 527 Bytes

Proxy Pattern

Structural Type

Intent:

Provide a surrogate or placeholder for another object to control access to it.

Definition

Proxy is a structural design pattern that lets you provide a substitute or placeholder for another object. A proxy controls access to the original object, allowing you to perform something either before or after the request gets through to the original object.

Visual Diagram

Visual Diagram Proxy Pattern

image by refactoring guru