public static interface Response.ContentListener extends Response.ResponseListener
Response.AsyncContentListener
Modifier and Type | Method and Description |
---|---|
void |
onContent(Response response,
java.nio.ByteBuffer content)
Callback method invoked when the response content has been received, parsed and there is demand.
|
void onContent(Response response, java.nio.ByteBuffer content)
content
buffer
must be consumed (or copied) before returning from this method.response
- the response containing the response line data and the headerscontent
- the content bytes receivedCopyright © 1995–2020 Webtide. All rights reserved.