java.util.EventListener, Response.ResponseListenerResponse.ListenerBufferingResponseListener, ContinueProtocolHandler.ContinueListener, FutureResponseListener, InputStreamResponseListener, RedirectProtocolHandler, Response.Listener.Adapterpublic static interface Response.AsyncContentListener extends Response.ResponseListener
| Modifier and Type | Method | Description |
|---|---|---|
void |
onContent(Response response,
java.nio.ByteBuffer content,
Callback callback) |
Callback method invoked asynchronously when the response content has been received.
|
void onContent(Response response, java.nio.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–2017 Webtide. All rights reserved.