| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
protected FileOutputStream |
out |
| Constructor and Description |
|---|
FileReader() |
FileReader(Function2<File,Response> function) |
| Modifier and Type | Method and Description |
|---|---|
void |
data(io.netty.buffer.ByteBuf data)
Invoked each time a block of data is received
|
void |
done()
Called once at the end of a stream when all data is received
|
isCompleted, listen, onHeaders, onProtocolVersion, onStatus, response, response, setCompletedprotected File file
protected FileOutputStream out
public FileReader()
throws IOException
IOExceptionpublic FileReader(Function2<File,Response> function) throws IOException
IOExceptionpublic void data(io.netty.buffer.ByteBuf data)
ReaderCopyright © 2012-2015. All Rights Reserved.