public class HttpDownloader extends Object implements BatchComponent, ServerComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
TIMEOUT_MILLISECONDS |
| Constructor and Description |
|---|
HttpDownloader(Server server,
Settings settings) |
HttpDownloader(Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
download(URI uri) |
void |
download(URI uri,
File toFile) |
String |
downloadPlainText(URI uri,
String encoding) |
String |
getProxySynthesis(URI uri) |
InputStream |
openStream(URI uri) |
public static final int TIMEOUT_MILLISECONDS
public HttpDownloader(Server server, Settings settings)
public HttpDownloader(Settings settings)
public String getProxySynthesis(URI uri)
public String downloadPlainText(URI uri, String encoding)
public InputStream openStream(URI uri)
Copyright © 2009-2012 SonarSource. All Rights Reserved.