Class RequestManager

java.lang.Object
org.gvsig.remoteclient.taskplanning.retrieving.RequestManager

public class RequestManager extends Object
pa administrar les tasques (la història aquella de que hi haja una cola per a cada servidor)
Author:
Luis W. Sevilla (sevilla_lui@gva.es)
  • Method Details

    • getInstance

      public static RequestManager getInstance()
    • addURLRequest

      public URLRetrieveTask addURLRequest(URLRequest request, RetrieveListener listener)
    • removeURLRequest

      public void removeURLRequest(URLRequest request)
      Remove an URL from the system cache. The file will remain in the file system for further eventual uses.
      Parameters:
      request -
    • addDownloadedURLRequest

      protected void addDownloadedURLRequest(URLRequest request, String filePath)
      Adds an URL to the table of downloaded files for further uses. If the URL already exists in the table its filePath value is updated to the new one and the old file itself is removed from the file system.
      Parameters:
      filePath -
      url -