Class DefaultFileDownloader

java.lang.Object
com.vaadin.flow.server.frontend.installer.DefaultFileDownloader

public final class DefaultFileDownloader extends Object
Default file downloader implementation.

Derived from eirslett/frontend-maven-plugin

For internal use only. May be renamed or removed in a future release.

Since:
  • Field Details

  • Constructor Details

    • DefaultFileDownloader

      public DefaultFileDownloader(ProxyConfig proxyConfig)
      Construct file downloader with given proxy configuration.
      Parameters:
      proxyConfig - proxy configuration to use for file download
  • Method Details

    • download

      public void download(URI downloadURI, File destination, String userName, String password) throws com.vaadin.flow.server.frontend.installer.DownloadException
      Throws:
      com.vaadin.flow.server.frontend.installer.DownloadException