@ScannerSide @ServerSide public abstract class HttpDownloader extends UriReader.SchemeProcessor
| Modifier and Type | Class and Description | 
|---|---|
| static class  | HttpDownloader.HttpException | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | TIMEOUT_MILLISECONDS | 
| Constructor and Description | 
|---|
| HttpDownloader() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract byte[] | download(URI uri) | 
| abstract void | download(URI uri,
        File toFile) | 
| abstract String | downloadPlainText(URI uri,
                 String encoding) | 
| abstract InputStream | openStream(URI uri) | 
description, getSupportedSchemes, readBytes, readStringpublic static final int TIMEOUT_MILLISECONDS
public HttpDownloader()
public abstract String downloadPlainText(URI uri, String encoding)
public abstract InputStream openStream(URI uri)
Copyright © 2009–2016 SonarSource. All rights reserved.