public class FullyReadOnCloseInputStream extends FilterInputStream
InputStream
wrapper that fully reads the underlying stream on close. This is because
we need to fully read an InputStream for the corresponding connection to be reused.in
Constructor and Description |
---|
FullyReadOnCloseInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
available, mark, markSupported, read, read, read, reset, skip
public FullyReadOnCloseInputStream(InputStream in)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException