class AlbumInvocationHandler implements InvocationHandler {

  private TinyRestClient restClient;

  /**
   * Class constructor. It instantiates a TinyRestClient object.
   *
   * @param baseUrl    Root url for endpoints.
   * @param httpClient Handle the http communication.
   */
  public AlbumInvocationHandler(String baseUrl, HttpClient httpClient) {
    this.restClient = new TinyRestClient(baseUrl, httpClient);
  }

  @Override
  public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {<FILL_FUNCTION_BODY>}

}


    LOGGER.info("===== Calling the method {}.{}()",
        method.getDeclaringClass().getSimpleName(), method.getName());

    return restClient.send(method, args);
  
<no_super_class>