public class HttpResponseHandler
extends java.lang.Object
| Constructor and Description |
|---|
HttpResponseHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onResponse(HttpResponse response,
long contentLength)
The request was successfully sent and a response is available.
|
void |
onTimeout()
The request failed to connect or read data in time.
|
public void onTimeout()
throws java.lang.Exception
java.lang.Exceptionpublic void onResponse(HttpResponse response, long contentLength) throws java.lang.Exception
response - java.lang.Exception