Class FileDownloader

java.lang.Object
gov.nasa.pds.registry.common.util.file.FileDownloader

public class FileDownloader extends Object
File downloader with retry logic. By default, SSL certificate and host verification is disabled for HTTPS connections to support self-signed certificates. This can be turned off.
Author:
karpenko
  • Constructor Details

    • FileDownloader

      public FileDownloader(boolean sslTrustAll) throws Exception
      Constructor
      Parameters:
      sslTrustAll - Enable or disable SSL certificate and host validation to support self-signed certificates.
      Throws:
      Exception
  • Method Details