Class HttpFileRequester


  • public class HttpFileRequester
    extends Object
    File requester that can download resources over HTTP transport using Apache HttpClient 4.x.
    • 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 file
        headers - list of headers
        Throws:
        IOException