| 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 |
|---|---|
java.io.InputStream |
HttpResourceConnection.fetch(java.net.URL url)
Retrieves the resource identified by the given URL and returns the
InputStream.
|
java.lang.String |
Downloader.fetchContent(java.net.URL url,
boolean useProxy)
Retrieves a file from a given URL and returns the contents.
|
java.lang.String |
Downloader.fetchContent(java.net.URL url,
boolean useProxy,
java.lang.String userKey,
java.lang.String passwordKey)
Retrieves a file from a given URL and returns the contents.
|
void |
Downloader.fetchFile(java.net.URL url,
java.io.File outputPath)
Retrieves a file from a given URL and saves it to the outputPath.
|
void |
Downloader.fetchFile(java.net.URL url,
java.io.File outputPath,
boolean useProxy)
Retrieves a file from a given URL and saves it to the outputPath.
|
void |
Downloader.fetchFile(java.net.URL url,
java.io.File outputPath,
boolean useProxy,
java.lang.String userKey,
java.lang.String passwordKey)
Retrieves a file from a given URL and saves it to the outputPath.
|
void |
Downloader.fetchFile(java.net.URL url,
java.io.File outputPath,
java.lang.String userKey,
java.lang.String passwordKey)
Retrieves a file from a given URL and saves it to the outputPath.
|
Copyright© 2012-21 Jeremy Long. All Rights Reserved.