public class KeepAliveInputStream extends FilterInputStream
in| Constructor and Description |
|---|
KeepAliveInputStream(InputStream pStream,
HttpClient pClient)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
long |
skip(long len) |
available, mark, markSupported, resetpublic KeepAliveInputStream(InputStream pStream, HttpClient pClient)
pStream - The underlying streampClient - The associated client.public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] buf)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long len)
throws IOException
skip in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.