setIn(InputStream).
| Modifier and Type | Field and Description |
|---|---|
| protected Future | |
| protected CloseableExecutorService | |
| protected final boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | doWriteExtendedData(byte[] data, int off, long len)
Overrides org.
|
| public IoInputStream | |
| public OutputStream | |
| protected Closeable | |
| public InputStream | getInvertedErr()
Overrides org. Implements org. Obtains an |
| protected void | |
| protected int | |
| public void | setErr(OutputStream
the err)OutputStreamOverrides org. Implements org. Sets an output stream for the channel to write received |
| private <T> T |
| pumper | back to summary |
|---|---|
| protected Future<?> pumper | |
| pumperService | back to summary |
|---|---|
| protected CloseableExecutorService pumperService | |
| withErrorStream | back to summary |
|---|---|
| protected final boolean withErrorStream | |
| AsyncCapableClientChannel | back to summary |
|---|---|
| protected AsyncCapableClientChannel(String type, boolean withErrorStream) | |
| closeImmediately0 | back to summary |
|---|---|
| protected void closeImmediately0() | |
| doOpen | back to summary |
|---|---|
| protected void doOpen() throws IOException Implements abstract org.
| |
| doWriteExtendedData | back to summary |
|---|---|
| protected void doWriteExtendedData(byte[] data, int off, long len) throws IOException Overrides org.
| |
| getAsyncErr | back to summary |
|---|---|
| public IoInputStream getAsyncErr() Overrides org. Implements org.
| |
| getErr | back to summary |
|---|---|
| public OutputStream getErr() Overrides org.
| |
| getInnerCloseable | back to summary |
|---|---|
| protected Closeable getInnerCloseable() Overrides org.
| |
| getInvertedErr | back to summary |
|---|---|
| public InputStream getInvertedErr() Overrides org. Implements org. Doc from org. Obtains an When the channel closes, it will not close the returned stream. It is the caller's responsibility to close the returned stream if needed. Closing the stream while the channel is open may cause the channel to be closed forcibly if more data arrives. The stream remains open after the channel has closed, so that the caller can read the last arrived data even afterwards. As with all external processes, the application should read this stream (unless it was redirected) to avoid that the channel blocks when the stream's buffer is full. The buffer size for the returned stream is bounded by the channel's local window size. If the caller does not read this stream, the channel will block once the local window is exhausted. This method should be called only after the channel has been opened.
| |
| pumpInputStream | back to summary |
|---|---|
| protected void pumpInputStream() | |
| securedRead | back to summary |
|---|---|
| protected int securedRead(InputStream in, int maxChunkSize, byte[] buf, int off, int len) throws IOException | |
| setErr | back to summary |
|---|---|
| public void setErr(OutputStream err) Overrides org. Implements org. Doc from org. Sets an output stream for the channel to write received
The stream must be set before the channel is opened. When the channel closes, it will
If no stream is set by the time the channel is opened, the channel will internally forward data to a stream that
can be read via the
| |
| unsupported | back to summary |
|---|---|
| private <T> T unsupported(Supplier<? extends T> err) | |