public class HttpInputStreamWithRelease extends InputStream
| Constructor and Description |
|---|
HttpInputStreamWithRelease(URI uri,
org.apache.commons.httpclient.HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
protected void |
finalize()
Finalizer does release the stream, but also logs at WARN level
including the URI at fault
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
String |
toString() |
mark, markSupported, read, reset, skippublic HttpInputStreamWithRelease(URI uri, org.apache.commons.httpclient.HttpMethod method) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionprotected void finalize()
Copyright © 2018 CERN. All Rights Reserved.