java.lang.Object
com.xebialabs.deployit.service.importer.source.UrlSource
All Implemented Interfaces:
com.xebialabs.deployit.server.api.importer.ImportSource

public class UrlSource extends Object implements com.xebialabs.deployit.server.api.importer.ImportSource
  • Constructor Details

    • UrlSource

      public UrlSource(URL location, String user, String password)
  • Method Details

    • getFile

      public File getFile()
      Specified by:
      getFile in interface com.xebialabs.deployit.server.api.importer.ImportSource
    • cleanUp

      public void cleanUp()
      Specified by:
      cleanUp in interface com.xebialabs.deployit.server.api.importer.ImportSource
    • getFinalUri

      protected URI getFinalUri(org.apache.http.client.protocol.HttpClientContext context, URI uri) throws URISyntaxException
      Throws:
      URISyntaxException
    • executeGetRequest

      protected org.apache.http.HttpResponse executeGetRequest(org.apache.http.client.HttpClient client, org.apache.http.protocol.HttpContext context, URI uri) throws IOException
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object