Class UrlSource
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()protected org.apache.http.HttpResponseexecuteGetRequest(org.apache.http.client.HttpClient client, org.apache.http.protocol.HttpContext context, URI uri) getFile()protected URIgetFinalUri(org.apache.http.client.protocol.HttpClientContext context, URI uri) toString()
-
Constructor Details
-
UrlSource
-
-
Method Details
-
getFile
- Specified by:
getFilein interfacecom.xebialabs.deployit.server.api.importer.ImportSource
-
cleanUp
public void cleanUp()- Specified by:
cleanUpin interfacecom.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
-