| Constructor and Description |
|---|
HTTPHelper(URL url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
long |
getContentLength() |
URL |
getUrl() |
InputStream |
openInputStream() |
InputStream |
openInputStreamForRange(long start,
long end)
Deprecated.
|
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