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, skip
public HttpInputStreamWithRelease(URI uri, org.apache.commons.httpclient.HttpMethod method) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
protected void finalize()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.