patterns/proxy/ #56
Replies: 2 comments 1 reply
-
the best website of studying Java Design Patterns |
Beta Was this translation helpful? Give feedback.
0 replies
-
this website's just a static proxy pattern. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
patterns/proxy/
Also known as Surrogate Intent Provide a surrogate or placeholder for another object to control access to it. Explanation Real-world example Imagine a tower where the local wizards go to study their spells. The ivory tower can only be accessed through a proxy which ensures that only the first three wizards can enter. Here the proxy represents the functionality of the tower and adds access control to it.
https://java-design-patterns.com/patterns/proxy/
Beta Was this translation helpful? Give feedback.
All reactions