A C D F G H I J O P R S T U 

A

addHeader(String, String) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Add a header on the request, please note a null header key of a null header value will quietly be ignored from the final headers ensure that passe parameter is not null
AsyncHttpRequest - Class in com.github.leonardoxh.asyncokhttpclient
Handles the the messages for start/success/error/end of the incomming requests
AsyncHttpRequest(HttpURLConnection, AsyncHttpResponse, RequestParams, RequestModel) - Constructor for class com.github.leonardoxh.asyncokhttpclient.AsyncHttpRequest
Constructs a new instance of AsyncHttpRequest
AsyncHttpResponse - Class in com.github.leonardoxh.asyncokhttpclient
Retrive the response from the HttpURLConnection and send it to the relative callback like onSuccess, onError
AsyncHttpResponse() - Constructor for class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Construct a new instance of AsyncHttpResponse
AsyncOkHttpClient - Class in com.github.leonardoxh.asyncokhttpclient
Main class should be used to controll all the client
AsyncOkHttpClient() - Constructor for class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
 

C

clear() - Method in class com.github.leonardoxh.asyncokhttpclient.RequestParams
Clear the parameter map
closeQuietly(Closeable) - Static method in class com.github.leonardoxh.asyncokhttpclient.utils.Util
Close any Closeable quietly if any exception is thrown simple ignore it
com.github.leonardoxh.asyncokhttpclient - package com.github.leonardoxh.asyncokhttpclient
 
com.github.leonardoxh.asyncokhttpclient.utils - package com.github.leonardoxh.asyncokhttpclient.utils
 

D

delete(String, String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a DELETE request
delete(String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a DELETE request
delete(String, String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a DELETE request
delete(String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a DELETE request
DELETE - Static variable in class com.github.leonardoxh.asyncokhttpclient.utils.RequestMethod
 

F

FAIL - Static variable in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Indicate the response has failed
FINISH - Static variable in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Indicate the response has finished (after onSuccess or onError)

G

get(String, String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a GET request
get(String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a GET request
get(String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a GET request
get(String, String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a GET request
GET - Static variable in class com.github.leonardoxh.asyncokhttpclient.utils.RequestMethod
 
getOkHttpClient() - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Return a instance used for the requests on this client
getParams() - Method in class com.github.leonardoxh.asyncokhttpclient.RequestParams
Return the encoded parameter of this request ready for HttpURLConnection set on OutputStream
getUrlWithQueryString(String, RequestParams) - Static method in class com.github.leonardoxh.asyncokhttpclient.utils.Util
Util for GET request method, convert the given RequestParams into a valid URL String query

H

handleFailMessage(Throwable, String) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Handle the fail message and call the relative callback
handleMessage(Message) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
 
handleMessage(Message) - Method in class com.github.leonardoxh.asyncokhttpclient.JsonAsyncHttpResponse
 
handleSuccessJsonMessage(int, Object) - Method in class com.github.leonardoxh.asyncokhttpclient.JsonAsyncHttpResponse
Handle the success json message and call the onSuccess callback or the onError
handleSuccessMessage(int, String) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Handle the success message and call the relative callback

I

inputStreamToString(InputStream) - Static method in class com.github.leonardoxh.asyncokhttpclient.utils.Util
Convert the given InputStream to a String

J

JsonAsyncHttpResponse - Class in com.github.leonardoxh.asyncokhttpclient
This handles retrieve a message from the HttpURLConnection and parse it in a JSON
JsonAsyncHttpResponse() - Constructor for class com.github.leonardoxh.asyncokhttpclient.JsonAsyncHttpResponse
 

O

obtainMessage(int, Object) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Obtain a handler thread message to verify the results this method will always return a valid message
onError(Throwable, String) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Callback that indicate the request has return error
onFinish() - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Callback that indicate the request has finished
onStart() - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Callback that indicate the request has started
onSuccess(int, String) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Callback that indicate the request has this method returns the content of the response
onSuccess(int, JSONObject) - Method in class com.github.leonardoxh.asyncokhttpclient.JsonAsyncHttpResponse
Callback that indicate request has finished success and its a JSONObject
onSuccess(int, JSONArray) - Method in class com.github.leonardoxh.asyncokhttpclient.JsonAsyncHttpResponse
Callback that indicate request has finished success and its a JSONArray

P

post(String, String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a POST request
post(String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a POST request
post(String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a POST request
post(String, String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a POST request
POST - Static variable in class com.github.leonardoxh.asyncokhttpclient.utils.RequestMethod
 
put(String, String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a PUT request
put(String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a PUT request
put(String, String, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a PUT request
put(String, RequestParams, AsyncHttpResponse) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Execute a PUT request
put(Map<String, String>) - Method in class com.github.leonardoxh.asyncokhttpclient.RequestParams
Put multiple parameters on this parameters
put(String, String) - Method in class com.github.leonardoxh.asyncokhttpclient.RequestParams
Put the parameter on this params note if the parameter name is null or parameter value is null it will be siently omited from this parameters
PUT - Static variable in class com.github.leonardoxh.asyncokhttpclient.utils.RequestMethod
 

R

RequestMethod - Class in com.github.leonardoxh.asyncokhttpclient.utils
Class that hold the supported request methods on this library on the most use cases to be used with com.opens.asyncokhttpclient.RequestModel
RequestParams - Class in com.github.leonardoxh.asyncokhttpclient
Representation class for request parameters
RequestParams() - Constructor for class com.github.leonardoxh.asyncokhttpclient.RequestParams
 
run() - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpRequest
 

S

sendEndMessage() - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Send the handle message that indicate the request has finished
sendFailMessage(Throwable, String) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Send the fail message to the handler
sendMessage(Message) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Send a message over the handler, if the handler is null no problems it will recreate it
sendRequest(OkHttpClient, String, AsyncHttpResponse, String, RequestParams) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Send the specific request for the request response
sendStartMessage() - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Send the handle message that indicate the request has started
sendSuccessMessage(int, String) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Send the success message to the handler
sendSuccessMessage(int, String) - Method in class com.github.leonardoxh.asyncokhttpclient.JsonAsyncHttpResponse
 
setConnectionTimeut(long, TimeUnit) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Set the connection time out for the requests based on the time unit
setThreadPool(ThreadPoolExecutor) - Method in class com.github.leonardoxh.asyncokhttpclient.AsyncOkHttpClient
Set the executor to execute the requests on the most use cases this is not necessary but is a good choice for make unit tests
START - Static variable in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Indicate the response has started
SUCCESS - Static variable in class com.github.leonardoxh.asyncokhttpclient.AsyncHttpResponse
Indicate the response has finished with success
SUCCESS_JSON - Static variable in class com.github.leonardoxh.asyncokhttpclient.JsonAsyncHttpResponse
Indicate the JSON has a valid json and a success message

T

toString() - Method in class com.github.leonardoxh.asyncokhttpclient.RequestParams
 

U

Util - Class in com.github.leonardoxh.asyncokhttpclient.utils
Utilitaries class, contains the common methods used to decode responses and another utils methods
A C D F G H I J O P R S T U