public static interface Response.ContentListener extends Response.ResponseListener
Modifier and Type | Method and Description |
---|---|
void |
onContent(Response response,
ByteBuffer content)
Callback method invoked when the response content has been received.
|
void onContent(Response response, ByteBuffer content)
content
buffer must be consumed
before returning from this method.response
- the response containing the response line data and the headerscontent
- the content bytes receivedCopyright © 1995-2015 Webtide. All Rights Reserved.