| 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 |
|---|---|
void |
HttpResourceConnection.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.
|
InputStream |
HttpResourceConnection.fetch(URL url)
Retrieves the resource identified by the given URL and returns the
InputStream.
|
String |
Downloader.fetchContent(URL url,
boolean useProxy)
Retrieves a file from a given URL and returns the contents.
|
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.
|
void |
Downloader.fetchFile(URL url,
File outputPath,
boolean useProxy,
String userKey,
String passwordKey)
Retrieves a file from a given URL and saves it to the outputPath.
|
void |
Downloader.fetchFile(URL url,
File outputPath,
String userKey,
String passwordKey)
Retrieves a file from a given URL and saves it to the outputPath.
|
long |
HttpResourceConnection.getLastModified(URL url)
Deprecated.
this method is no longer used to check the last modified date
of the NVD. This method will be removed in a future release.
|
Copyright © 2012–2020 OWASP. All rights reserved.