Class HttpFileRequester
- java.lang.Object
-
- com.googlecode.download.maven.plugin.internal.HttpFileRequester
-
public class HttpFileRequester extends Object
File requester that can download resources over HTTP transport using Apache HttpClient 4.x.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpFileRequester.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddownload(File outputFile, List<org.apache.http.Header> headers)Downloads the resource with the given URI to the specified local file system location.
-
-
-
Method Detail
-
download
public void download(File outputFile, List<org.apache.http.Header> headers) throws IOException
Downloads the resource with the given URI to the specified local file system location.- Parameters:
outputFile- the output fileheaders- list of headers- Throws:
IOException
-
-