| Modifier and Type | Method and Description |
|---|---|
| public Buffer | |
| public Throwable | Returns: null if the read operation is not finished yet, or if the read attempt is successful (use
isDone() to distinguish between the two).Returns the cause of the read failure. |
| public int |
| getBuffer | back to summary |
|---|---|
| public Buffer getBuffer() Retrieves the buffer data was read into. | |
| getException | back to summary |
|---|---|
| public Throwable getException() Returns the cause of the read failure. An | |
| getRead | back to summary |
|---|---|
| public int getRead() Retrieves the number of bytes read.
| |