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 URLHelper
IOException
public InputStream openInputStream() throws IOException
openInputStream
in interface URLHelper
IOException
@Deprecated public InputStream openInputStreamForRange(long start, long end) throws IOException
openInputStreamForRange
in interface URLHelper
start
- start of range in bytesend
- end of range ni bytesIOException
public boolean exists() throws IOException
exists
in interface URLHelper
IOException