Class UriFileInitializer
java.lang.Object
org.eclipse.jetty.start.FileInitializer
org.eclipse.jetty.start.fileinits.DownloadFileInitializer
org.eclipse.jetty.start.fileinits.UriFileInitializer
-
Field Summary
Fields inherited from class org.eclipse.jetty.start.FileInitializer
_basehome, _scheme
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Initialize a file resourceMethods inherited from class org.eclipse.jetty.start.fileinits.DownloadFileInitializer
download
Methods inherited from class org.eclipse.jetty.start.FileInitializer
check, copyDirectory, getDestination, isApplicable, isFilePresent
-
Field Details
-
_allowInsecureHttpDownloads
protected final boolean _allowInsecureHttpDownloads
-
-
Constructor Details
-
UriFileInitializer
-
-
Method Details
-
allowInsecureHttpDownloads
protected boolean allowInsecureHttpDownloads()- Specified by:
allowInsecureHttpDownloads
in classDownloadFileInitializer
-
create
Description copied from class:FileInitializer
Initialize a file resource- Specified by:
create
in classFileInitializer
- Parameters:
uri
- the URI of the resource acting as its sourcelocation
- 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.
-