Package Structural.Proxy
Class Proxy
java.lang.Object
Structural.Proxy.Proxy
- All Implemented Interfaces:
Subject
The Proxy controls access to the RealSubject.
The Proxy adds additional functionality such as authentication or lazy initialization.
-
Constructor Summary
ConstructorsConstructorDescriptionProxy(boolean isAuthenticated) Constructs the Proxy with authentication status. -
Method Summary
-
Constructor Details
-
Proxy
public Proxy(boolean isAuthenticated) Constructs the Proxy with authentication status.- Parameters:
isAuthenticated- Whether the client is authenticated.
-
-
Method Details