Interface Subject

All Known Implementing Classes:
Proxy, RealSubject

public interface Subject
The Subject interface defines the common operations for the Proxy and RealSubject.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    request(String resource)
    Handles the request in a format expected by the client.
  • Method Details

    • request

      void request(String resource)
      Handles the request in a format expected by the client.
      Parameters:
      resource - The resource being requested.