package nxm.webvnc.lib;

import nxm.sys.net.HPage;

/**
 * Interface for REST Request Handlers.
 *
 * @author adw
 * @since NeXtMidas 4.1.1
 *
 */
public interface RequestHandlerInterface {

  /** Handle the REST request.
   *
   *  @param uri  The URI used to access this resource.
   *  @param hp   The {@link HPage} representing the request.
   *  @return The data to be returned to the client.
   */
  public String handleRequest (String uri, HPage hp);
}
