Closeable, AutoCloseablepublic class NonBlockingPumpInputStream extends NonBlockingInputStream
EOF, READ_EXPIRED| Constructor | Description |
|---|---|
NonBlockingPumpInputStream() |
|
NonBlockingPumpInputStream(int bufferSize) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
protected void |
checkIoException() |
|
void |
close() |
|
OutputStream |
getOutputStream() |
|
int |
read(long timeout,
boolean isPeek) |
|
int |
readBuffered(byte[] b) |
|
void |
setIoException(IOException exception) |
peek, read, read, read, shutdownmark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTopublic 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 int readBuffered(byte[] b)
throws IOException
readBuffered in class NonBlockingInputStreamIOExceptionpublic void setIoException(IOException exception)
protected void checkIoException()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class InputStreamIOExceptionCopyright © 2020. All rights reserved.