public class ChannelPipedInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
ChannelPipedInputStream(Window localWindow) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
eof() |
int |
getTimeout() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
receive(byte[] bytes,
int off,
int len) |
void |
setTimeout(int timeout) |
public ChannelPipedInputStream(Window localWindow)
public void setTimeout(int timeout)
public int getTimeout()
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void eof()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic void receive(byte[] bytes,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.