T - The type of the response object returned.public interface HttpResponseHandler<T>
| Modifier and Type | Method and Description |
|---|---|
T |
handleResponse(HttpResponse response)
Actually handles the
HttpResponse. |
T handleResponse(HttpResponse response) throws java.io.IOException, ProtocolError, ProtocolException
HttpResponse. This method "converts" the response into an object of type T.response - The response object.null if no result is expected.java.io.IOExceptionProtocolErrorProtocolException