| Constructor and Description |
|---|
AsyncReader() |
| Modifier and Type | Method and Description |
|---|---|
int |
read(ByteBuffer content,
ByteChannel channel)
Reads bytes asynchronously.
|
public int read(ByteBuffer content, ByteChannel channel) throws IOException
Reads bytes into the provided buffer.
read in interface Readercontent - the buffer which will hold the read content.channel - the source channel where the content will be read from.IOException - errors occur while reading.Copyright © 2018 WSO2. All rights reserved.