| Constructor and Description |
|---|
HTTPHelper(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
long |
getContentLength() |
java.net.URL |
getUrl() |
java.io.InputStream |
openInputStream() |
java.io.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(java.net.Proxy p) |
public static void setProxy(java.net.Proxy p)
public long getContentLength()
throws java.io.IOException
getContentLength in interface URLHelperjava.io.IOExceptionpublic java.io.InputStream openInputStream()
throws java.io.IOException
openInputStream in interface URLHelperjava.io.IOException@Deprecated
public java.io.InputStream openInputStreamForRange(long start,
long end)
throws java.io.IOException
openInputStreamForRange in interface URLHelperstart - start of range in bytesend - end of range ni bytesjava.io.IOException