Skip to content

Files

Latest commit

43e5eae · May 31, 2024

History

History

Proxy

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