| Package | Description |
|---|---|
| org.owasp.dependencycheck.utils |
Includes various utility classes such as a Settings wrapper, utilities to make URL Connections, etc.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Downloader.checkForCommonExceptionTypes(IOException ex)
Analyzes the IOException, logs the appropriate information for debugging
purposes, and then throws a DownloadFailedException that wraps the IO
Exception for common IO Exceptions.
|
void |
Downloader.fetchFile(URL url,
File outputPath)
Retrieves a file from a given URL and saves it to the outputPath.
|
void |
Downloader.fetchFile(URL url,
File outputPath,
boolean useProxy)
Retrieves a file from a given URL and saves it to the outputPath.
|
long |
Downloader.getLastModified(URL url)
Makes an HTTP Head request to retrieve the last modified date of the
given URL.
|
Copyright © 2012–2019 OWASP. All rights reserved.