protected class ContinueProtocolHandler.ContinueListener extends BufferingResponseListener
|Modifier||Constructor and Description|
|Modifier and Type||Method and Description|
Callback method invoked when the request and the response have been processed, either successfully or not.
Callback method invoked when the response has failed in the process of being received
Callback method invoked when the whole response has been successfully received.
getContent, getContentAsInputStream, getContentAsString, getContentAsString, getContentAsString, getEncoding, getMediaType, onContent, onHeaders
onBegin, onContent, onHeader
public void onSuccess(Response response)
public void onComplete(Result result)
result parameter contains the request, the response, and eventual failures.
Requests may complete after response, for example in case of big uploads that are
discarded or read asynchronously by the server.
This method is always invoked after
Response.FailureListener.onFailure(Response, Throwable), and only when request indicates that
it is completed.
Copyright © 1995–2017 Webtide. All rights reserved.