public class KeepAliveInputStream
extends java.io.FilterInputStream
| Constructor | Description |
|---|---|
KeepAliveInputStream(java.io.InputStream pStream,
HttpClient pClient) |
Ctor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
int |
read() |
|
int |
read(byte[] buf) |
|
int |
read(byte[] buf,
int off,
int len) |
|
long |
skip(long len) |
public KeepAliveInputStream(java.io.InputStream pStream,
HttpClient pClient)
pStream - The underlying streampClient - The associated client.public int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] buf)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long len)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in class java.io.FilterInputStreamjava.io.IOExceptionCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.