|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.api.utils.HttpDownloader
public class HttpDownloader
Simple class to download a file from a HTTP repository.
Field Summary | |
---|---|
static int |
TIMEOUT_MILLISECONDS
|
Constructor Summary | |
---|---|
HttpDownloader()
|
|
HttpDownloader(Server server)
|
Method Summary | |
---|---|
byte[] |
download(java.net.URI uri)
|
void |
download(java.net.URI uri,
java.io.File toFile)
|
java.io.InputStream |
openStream(java.net.URI uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TIMEOUT_MILLISECONDS
Constructor Detail |
---|
public HttpDownloader(Server server)
public HttpDownloader()
Method Detail |
---|
public void download(java.net.URI uri, java.io.File toFile)
public byte[] download(java.net.URI uri)
public java.io.InputStream openStream(java.net.URI uri)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |