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, skippublic FullyReadOnCloseInputStream(InputStream in)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOException