Class Adaptee

java.lang.Object
Structural.Adapter.Adaptee

public class Adaptee extends Object
The Adaptee class provides existing functionality that needs adaptation. The Adaptee defines methods that do not match the Target interface but offer useful functionality. The Adapter class bridges the gap between Adaptee and Target.
  • Constructor Details

    • Adaptee

      public Adaptee()
      Default constructor for Adaptee.
  • Method Details

    • specificRequest

      public String specificRequest()
      A specific method offered by the Adaptee. This method demonstrates functionality that needs adaptation to match the Target interface.
      Returns:
      A string representing the Adaptee's specific response.