public class AsyncHttpRequest
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
AsyncHttpRequest(java.net.HttpURLConnection client,
AsyncHttpResponse responseHandler,
RequestParams params,
com.github.leonardoxh.asyncokhttpclient.RequestModel request)
Constructs a new instance of AsyncHttpRequest
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
public AsyncHttpRequest(java.net.HttpURLConnection client,
AsyncHttpResponse responseHandler,
RequestParams params,
com.github.leonardoxh.asyncokhttpclient.RequestModel request)
client - the client to execute the given requestresponseHandler - the callback for fire responses like success and errorparams - the request parameters for GET, POST...request - the model that contains the request method and headers