public static interface Response.AsyncContentListener extends Response.ResponseListener
Response.DemandedContentListener| Modifier and Type | Method and Description |
|---|---|
void |
onContent(Response response,
java.nio.ByteBuffer content,
Callback callback)
Callback method invoked when the response content has been received, parsed and there is demand.
|
void onContent(Response response, java.nio.ByteBuffer content, Callback callback)
callback object should be succeeded to signal that the
content buffer has been consumed and to demand more content.response - the response containing the response line data and the headerscontent - the content bytes receivedcallback - the callback to call when the content is consumed and to demand more contentCopyright © 1995–2020 Webtide. All rights reserved.