public class HttpDownloader extends Object implements BatchComponent, ServerComponent
Modifier and Type | Class and Description |
---|---|
static class |
HttpDownloader.BaseHttpDownloader |
static class |
HttpDownloader.HttpException |
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 downloadPlainText(URI uri, String encoding)
public String getProxySynthesis(URI uri)
public InputStream openStream(URI uri)
Copyright © 2009-2013 SonarSource. All Rights Reserved.