public class NonBlockingPumpInputStream extends NonBlockingInputStream
EOF, READ_EXPIRED| Constructor and Description |
|---|
NonBlockingPumpInputStream() |
NonBlockingPumpInputStream(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
protected void |
checkIoException() |
void |
close() |
OutputStream |
getOutputStream() |
int |
read(long timeout,
boolean isPeek) |
void |
setIoException(IOException exception) |
peek, read, read, read, shutdownmark, markSupported, read, reset, skippublic NonBlockingPumpInputStream()
public NonBlockingPumpInputStream(int bufferSize)
public OutputStream getOutputStream()
public int available()
available in class InputStreampublic int read(long timeout,
boolean isPeek)
throws IOException
read in class NonBlockingInputStreamIOExceptionpublic void setIoException(IOException exception)
protected void checkIoException()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2020. All rights reserved.