Class UriFileInitializer


public class UriFileInitializer extends DownloadFileInitializer
  • Field Details

    • _allowInsecureHttpDownloads

      protected final boolean _allowInsecureHttpDownloads
  • Constructor Details

    • UriFileInitializer

      public UriFileInitializer(StartArgs startArgs, BaseHome baseHome)
  • Method Details

    • allowInsecureHttpDownloads

      protected boolean allowInsecureHttpDownloads()
      Specified by:
      allowInsecureHttpDownloads in class DownloadFileInitializer
    • create

      public boolean create(URI uri, String location) throws IOException
      Description copied from class: FileInitializer
      Initialize a file resource
      Specified by:
      create in class FileInitializer
      Parameters:
      uri - the URI of the resource acting as its source
      location - the simple string reference to the output file, suitable for searching for the file in other locations (like ${jetty.home} or ${jetty.dir}) *
      Returns:
      true if local file system is modified.
      Throws:
      IOException - if there was an attempt to initialize, but an error occurred.