Class 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:
    • Constructor Detail

      • DefaultFileDownloader

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

      • 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