public static interface Response.AsyncContentListener extends Response.ResponseListener
Modifier and Type | Method and Description |
---|---|
void |
onContent(Response response,
ByteBuffer content,
Callback callback)
Callback method invoked asynchronously when the response content has been received.
|
void onContent(Response response, ByteBuffer content, Callback callback)
response
- the response containing the response line data and the headerscontent
- the content bytes receivedcallback
- the callback to call when the content is consumed.Copyright © 1995-2015 Webtide. All Rights Reserved.