| Constructor | Description |
|---|---|
HTTPHelper(URL url) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
exists() |
|
long |
getContentLength() |
|
URL |
getUrl() |
|
InputStream |
openInputStream() |
|
InputStream |
openInputStreamForRange(long start,
long end) |
Deprecated.
since 12/10/14 Will be removed in a future release, as is somewhat fragile
and not used.
|
static void |
setProxy(Proxy p) |
public HTTPHelper(URL url)
public static void setProxy(Proxy p)
public long getContentLength()
throws IOException
getContentLength in interface URLHelperIOExceptionpublic InputStream openInputStream() throws IOException
openInputStream in interface URLHelperIOException@Deprecated public InputStream openInputStreamForRange(long start, long end) throws IOException
openInputStreamForRange in interface URLHelperstart - start of range in bytesend - end of range ni bytesIOExceptionpublic boolean exists()
throws IOException
exists in interface URLHelperIOException