- add(String, String) - Method in class com.loopj.android.http.RequestParams
-
Adds string value to param which can have more than one value.
- addCookie(Cookie) - Method in class com.loopj.android.http.PersistentCookieStore
-
- addHeader(String, String) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets headers that will be added to all requests this client makes (before sending).
- addPart(String, Object) - Method in class com.loopj.android.http.JsonStreamerEntity
-
Add content parameter, identified by the given key, to the request.
- allowRetryExceptionClass(Class<?>) - Static method in class com.loopj.android.http.AsyncHttpClient
-
- append - Variable in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
- APPLICATION_JSON - Static variable in class com.loopj.android.http.RequestParams
-
- APPLICATION_OCTET_STREAM - Static variable in class com.loopj.android.http.RequestParams
-
- AsyncHttpClient - Class in com.loopj.android.http
-
The AsyncHttpClient can be used to make asynchronous GET, POST, PUT and DELETE HTTP requests in
your Android applications.
- AsyncHttpClient() - Constructor for class com.loopj.android.http.AsyncHttpClient
-
Creates a new AsyncHttpClient with default constructor arguments values
- AsyncHttpClient(int) - Constructor for class com.loopj.android.http.AsyncHttpClient
-
Creates a new AsyncHttpClient.
- AsyncHttpClient(int, int) - Constructor for class com.loopj.android.http.AsyncHttpClient
-
Creates a new AsyncHttpClient.
- AsyncHttpClient(boolean, int, int) - Constructor for class com.loopj.android.http.AsyncHttpClient
-
Creates new AsyncHttpClient using given params
- AsyncHttpClient(SchemeRegistry) - Constructor for class com.loopj.android.http.AsyncHttpClient
-
Creates a new AsyncHttpClient.
- AsyncHttpRequest - Class in com.loopj.android.http
-
Internal class, representing the HttpRequest, done in asynchronous manner
- AsyncHttpRequest(AbstractHttpClient, HttpContext, HttpUriRequest, ResponseHandlerInterface) - Constructor for class com.loopj.android.http.AsyncHttpRequest
-
- AsyncHttpResponseHandler - Class in com.loopj.android.http
-
Used to intercept and handle the responses from requests made using
AsyncHttpClient
.
- AsyncHttpResponseHandler() - Constructor for class com.loopj.android.http.AsyncHttpResponseHandler
-
Creates a new AsyncHttpResponseHandler
- AsyncHttpResponseHandler(Looper) - Constructor for class com.loopj.android.http.AsyncHttpResponseHandler
-
Creates a new AsyncHttpResponseHandler with a user-supplied looper.
- AsyncHttpResponseHandler(boolean) - Constructor for class com.loopj.android.http.AsyncHttpResponseHandler
-
Creates a new AsyncHttpResponseHandler and decide whether the callbacks
will be fired on current thread's looper or the pool thread's.
- autoClose - Variable in class com.loopj.android.http.RequestParams.StreamWrapper
-
- autoCloseInputStreams - Variable in class com.loopj.android.http.RequestParams
-
- Base64 - Class in com.loopj.android.http
-
Utilities for encoding and decoding the Base64 representation of binary data.
- Base64DataException - Exception in com.loopj.android.http
-
- Base64DataException(String) - Constructor for exception com.loopj.android.http.Base64DataException
-
- Base64OutputStream - Class in com.loopj.android.http
-
- Base64OutputStream(OutputStream, int) - Constructor for class com.loopj.android.http.Base64OutputStream
-
Performs Base64 encoding on the data written to the stream, writing the encoded data to
another OutputStream.
- Base64OutputStream(OutputStream, int, boolean) - Constructor for class com.loopj.android.http.Base64OutputStream
-
Performs Base64 encoding or decoding on the data written to the stream, writing the
encoded/decoded data to another OutputStream.
- BaseJsonHttpResponseHandler<JSON_TYPE> - Class in com.loopj.android.http
-
Class meant to be used with custom JSON parser (such as GSON or Jackson JSON)
- BaseJsonHttpResponseHandler() - Constructor for class com.loopj.android.http.BaseJsonHttpResponseHandler
-
Creates a new JsonHttpResponseHandler with default charset "UTF-8"
- BaseJsonHttpResponseHandler(String) - Constructor for class com.loopj.android.http.BaseJsonHttpResponseHandler
-
Creates a new JsonHttpResponseHandler with given string encoding
- BinaryHttpResponseHandler - Class in com.loopj.android.http
-
Used to intercept and handle the responses from requests made using
AsyncHttpClient
.
- BinaryHttpResponseHandler() - Constructor for class com.loopj.android.http.BinaryHttpResponseHandler
-
Creates a new BinaryHttpResponseHandler
- BinaryHttpResponseHandler(String[]) - Constructor for class com.loopj.android.http.BinaryHttpResponseHandler
-
Creates a new BinaryHttpResponseHandler, and overrides the default allowed content types with
passed String array (hopefully) of content types.
- BinaryHttpResponseHandler(String[], Looper) - Constructor for class com.loopj.android.http.BinaryHttpResponseHandler
-
Creates a new BinaryHttpResponseHandler with a user-supplied looper, and overrides the default allowed content types with
passed String array (hopefully) of content types.
- BlackholeHttpResponseHandler - Class in com.loopj.android.http
-
Blank implementation of ResponseHandlerInterface, which ignores all contents returned by
remote HTTP endpoint, and discards all various log messages
- BlackholeHttpResponseHandler() - Constructor for class com.loopj.android.http.BlackholeHttpResponseHandler
-
- blockRetryExceptionClass(Class<?>) - Static method in class com.loopj.android.http.AsyncHttpClient
-
- BUFFER_SIZE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
-
- byteArrayToHexString(byte[]) - Method in class com.loopj.android.http.PersistentCookieStore
-
Using some super basic byte array <-> hex conversions so we don't have to rely on any
large Base64 libraries.
- get(String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP GET request, without any parameters.
- get(String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP GET request with parameters.
- get(Context, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP GET request without any parameters and track the Android Context which
initiated the request.
- get(Context, String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP GET request and track the Android Context which initiated the request.
- get(Context, String, Header[], RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP GET request and track the Android Context which initiated the request with
customized headers
- get(Context, String, HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP GET request and track the Android Context which initiated the request.
- getAllowedContentTypes() - Method in class com.loopj.android.http.BinaryHttpResponseHandler
-
Method can be overriden to return allowed content types, can be sometimes better than passing
data in constructor
- getCharset() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- getConnectTimeout() - Method in class com.loopj.android.http.AsyncHttpClient
-
Returns current connection timeout limit (milliseconds).
- getContent() - Method in class com.loopj.android.http.JsonStreamerEntity
-
- getContentEncoding() - Method in class com.loopj.android.http.JsonStreamerEntity
-
- getContentLength() - Method in class com.loopj.android.http.JsonStreamerEntity
-
- getContentType() - Method in class com.loopj.android.http.JsonStreamerEntity
-
- getCookie() - Method in class com.loopj.android.http.SerializableCookie
-
- getCookies() - Method in class com.loopj.android.http.PersistentCookieStore
-
- getDefaultThreadPool() - Method in class com.loopj.android.http.AsyncHttpClient
-
Get the default threading pool to be used for this HTTP client.
- getEntity(ResponseHandlerInterface) - Method in class com.loopj.android.http.RequestParams
-
Returns an HttpEntity containing all request parameters.
- getEscapedJsonValue() - Method in interface com.loopj.android.http.JsonValueInterface
-
Returns the escaped, ready-to-be used value of this encapsulated object.
- getFixedSocketFactory() - Static method in class com.loopj.android.http.MySSLSocketFactory
-
Returns a SSlSocketFactory which trusts all certificates
- getHttpClient() - Method in class com.loopj.android.http.AsyncHttpClient
-
Get the underlying HttpClient instance.
- getHttpContext() - Method in class com.loopj.android.http.AsyncHttpClient
-
Get the underlying HttpContext instance.
- getKeystore() - Static method in class com.loopj.android.http.MySSLSocketFactory
-
Gets a Default KeyStore
- getKeystoreOfCA(InputStream) - Static method in class com.loopj.android.http.MySSLSocketFactory
-
Gets a KeyStore containing the Certificate
- getLoggingLevel() - Method in class com.loopj.android.http.AsyncHttpClient
-
Retrieves current log level from underlying LogInterface instance.
- getLoggingLevel() - Method in class com.loopj.android.http.LogHandler
-
- getLoggingLevel() - Method in interface com.loopj.android.http.LogInterface
-
- getLogInterface() - Method in class com.loopj.android.http.AsyncHttpClient
-
Will return current LogInterface used in AsyncHttpClient instance
- getMaxConnections() - Method in class com.loopj.android.http.AsyncHttpClient
-
Returns current limit of parallel connections
- getMethod() - Method in class com.loopj.android.http.HttpDelete
-
- getMethod() - Method in class com.loopj.android.http.HttpGet
-
- getNewHttpClient(KeyStore) - Static method in class com.loopj.android.http.MySSLSocketFactory
-
Gets a DefaultHttpClient which trusts a set of certificates specified by the KeyStore
- getOriginalFile() - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
Retrieves File object in which the response is stored
- getParamsList() - Method in class com.loopj.android.http.RequestParams
-
- getParamString() - Method in class com.loopj.android.http.RequestParams
-
- getRequestHeaders() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- getRequestHeaders() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Returns Header[] which were used to request
- getRequestURI() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- getRequestURI() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Returns URI which was used to request
- getResponseData(HttpEntity) - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
- getResponseData(HttpEntity) - Method in class com.loopj.android.http.RangeFileAsyncHttpResponseHandler
-
- getResponseData(HttpEntity) - Method in class com.loopj.android.http.SaxAsyncHttpResponseHandler
-
Deconstructs response into given content handler
- getResponseString(byte[], String) - Static method in class com.loopj.android.http.TextHttpResponseHandler
-
Attempts to encode response bytes as string of set encoding
- getResponseTimeout() - Method in class com.loopj.android.http.AsyncHttpClient
-
Returns current response timeout limit (milliseconds).
- getTag() - Method in class com.loopj.android.http.AsyncHttpRequest
-
Will return TAG of this AsyncHttpRequest
- getTag() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- getTag() - Method in class com.loopj.android.http.RequestHandle
-
Will return TAG of underlying AsyncHttpRequest if it's not already GCed
- getTag() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Will retrieve TAG Object if it's not already freed from memory
- getTargetFile() - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
Retrieves File which represents response final location after possible renaming
- getTargetFileByParsingURL() - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
Will return File instance for file representing last URL segment in given folder.
- getTemporaryFile(Context) - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
Used when there is no file to be used when calling constructor
- getThreadPool() - Method in class com.loopj.android.http.AsyncHttpClient
-
Returns the current executor service used.
- getURI(String) - Method in class com.loopj.android.http.AsyncHttpClient
-
Returns a URI
instance for the specified, absolute URL string.
- getUrlWithQueryString(boolean, String, RequestParams) - Static method in class com.loopj.android.http.AsyncHttpClient
-
Will encode url, if not disabled, and adds params on the end of it
- getUsePoolThread() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- getUsePoolThread() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Returns whether the handler should be executed on the pool's thread
or the UI thread
- getUseSynchronousMode() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- getUseSynchronousMode() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Returns whether the handler is asynchronous or synchronous
- obtainMessage(int, Object) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Helper method to create Message instance from handler
- onCancel() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- onCancel() - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onFailure(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Fired when a request fails to complete, override to handle in your own code
- onFailure(int, Header[], Throwable, String, JSON_TYPE) - Method in class com.loopj.android.http.BaseJsonHttpResponseHandler
-
Base abstract method, handling defined generic type
- onFailure(int, Header[], String, Throwable) - Method in class com.loopj.android.http.BaseJsonHttpResponseHandler
-
- onFailure(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.BinaryHttpResponseHandler
-
- onFailure(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onFailure(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
- onFailure(int, Header[], Throwable, File) - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
Method to be overriden, receives as much of file as possible Called when the file is
considered failure or if there is error when retrieving file
- onFailure(int, Header[], Throwable, JSONObject) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
Returns when request failed
- onFailure(int, Header[], Throwable, JSONArray) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
Returns when request failed
- onFailure(int, Header[], String, Throwable) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
- onFailure(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
- onFailure(int, Header[], T) - Method in class com.loopj.android.http.SaxAsyncHttpResponseHandler
-
Default onFailure method for this AsyncHttpResponseHandler to override
- onFailure(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.SaxAsyncHttpResponseHandler
-
- onFailure(int, Header[], String, Throwable) - Method in class com.loopj.android.http.TextHttpResponseHandler
-
Called when request fails
- onFailure(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.TextHttpResponseHandler
-
- onFinish() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Fired in all cases when the request is finished, after both success and failure, override to
handle in your own code
- onFinish() - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onPostProcessRequest(AsyncHttpRequest) - Method in class com.loopj.android.http.AsyncHttpRequest
-
This method is called once by the system when the request has been fully
sent, handled and finished.
- onPostProcessResponse(ResponseHandlerInterface, HttpResponse) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- onPostProcessResponse(ResponseHandlerInterface, HttpResponse) - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onPostProcessResponse(ResponseHandlerInterface, HttpResponse) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
This method is called once by the system when the request has been fully
sent, handled and finished.
- onPreProcessRequest(AsyncHttpRequest) - Method in class com.loopj.android.http.AsyncHttpRequest
-
This method is called once by the system when the request is about to be
processed by the system.
- onPreProcessResponse(ResponseHandlerInterface, HttpResponse) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- onPreProcessResponse(ResponseHandlerInterface, HttpResponse) - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onPreProcessResponse(ResponseHandlerInterface, HttpResponse) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
This method is called once by the system when the response is about to be
processed by the system.
- onProgress(long, long) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Fired when the request progress, override to handle in your own code
- onProgress(long, long) - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onProgressData(byte[]) - Method in class com.loopj.android.http.DataAsyncHttpResponseHandler
-
Fired when the request progress, override to handle in your own code
- onRetry(int) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Fired when a retry occurs, override to handle in your own code
- onRetry(int) - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onStart() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Fired when the request is started, override to handle in your own code
- onStart() - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onSuccess(int, Header[], byte[]) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Fired when a request returns successfully, override to handle in your own code
- onSuccess(int, Header[], String, JSON_TYPE) - Method in class com.loopj.android.http.BaseJsonHttpResponseHandler
-
Base abstract method, handling defined generic type
- onSuccess(int, Header[], String) - Method in class com.loopj.android.http.BaseJsonHttpResponseHandler
-
- onSuccess(int, Header[], byte[]) - Method in class com.loopj.android.http.BinaryHttpResponseHandler
-
- onSuccess(int, Header[], byte[]) - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- onSuccess(int, Header[], byte[]) - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
- onSuccess(int, Header[], File) - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
-
Method to be overriden, receives as much of response as possible
- onSuccess(int, Header[], JSONObject) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
Returns when request succeeds
- onSuccess(int, Header[], JSONArray) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
Returns when request succeeds
- onSuccess(int, Header[], String) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
- onSuccess(int, Header[], byte[]) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
- onSuccess(int, Header[], T) - Method in class com.loopj.android.http.SaxAsyncHttpResponseHandler
-
Default onSuccess method for this AsyncHttpResponseHandler to override
- onSuccess(int, Header[], byte[]) - Method in class com.loopj.android.http.SaxAsyncHttpResponseHandler
-
- onSuccess(int, Header[], String) - Method in class com.loopj.android.http.TextHttpResponseHandler
-
Called when request succeeds
- onSuccess(int, Header[], byte[]) - Method in class com.loopj.android.http.TextHttpResponseHandler
-
- onUserException(Throwable) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- onUserException(Throwable) - Method in class com.loopj.android.http.BlackholeHttpResponseHandler
-
- parseResponse(String, boolean) - Method in class com.loopj.android.http.BaseJsonHttpResponseHandler
-
Should return deserialized instance of generic type, may return object for more vague
handling
- parseResponse(byte[]) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
Returns Object of type JSONObject
, JSONArray
, String, Boolean, Integer, Long,
Double or JSONObject.NULL
, see JSONTokener.nextValue()
- patch(String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP
request, without any parameters.
- patch(String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PATCH request with parameters.
- patch(Context, String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PATCH request and track the Android Context which initiated the request.
- patch(Context, String, HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PATCH request and track the Android Context which initiated the request.
- patch(Context, String, Header[], HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PATCH request and track the Android Context which initiated the request.
- PersistentCookieStore - Class in com.loopj.android.http
-
A persistent cookie store which implements the Apache HttpClient CookieStore
interface.
- PersistentCookieStore(Context) - Constructor for class com.loopj.android.http.PersistentCookieStore
-
Construct a persistent cookie store.
- post(String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP POST request, without any parameters.
- post(String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP POST request with parameters.
- post(Context, String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP POST request and track the Android Context which initiated the request.
- post(Context, String, HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP POST request and track the Android Context which initiated the request.
- post(Context, String, Header[], RequestParams, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP POST request and track the Android Context which initiated the request.
- post(Context, String, Header[], HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP POST request and track the Android Context which initiated the request.
- postRunnable(Runnable) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Helper method to send runnable into local handler loop
- PreemptiveAuthorizationHttpRequestInterceptor - Class in com.loopj.android.http
-
- PreemptiveAuthorizationHttpRequestInterceptor() - Constructor for class com.loopj.android.http.PreemptiveAuthorizationHttpRequestInterceptor
-
- process(HttpRequest, HttpContext) - Method in class com.loopj.android.http.PreemptiveAuthorizationHttpRequestInterceptor
-
- PROGRESS_DATA_MESSAGE - Static variable in class com.loopj.android.http.DataAsyncHttpResponseHandler
-
- PROGRESS_MESSAGE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
-
- put(String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PUT request, without any parameters.
- put(String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PUT request with parameters.
- put(Context, String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PUT request and track the Android Context which initiated the request.
- put(Context, String, HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PUT request and track the Android Context which initiated the request.
- put(Context, String, Header[], HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Perform a HTTP PUT request and track the Android Context which initiated the request.
- put(String, String) - Method in class com.loopj.android.http.RequestParams
-
Adds a key/value string pair to the request.
- put(String, File[]) - Method in class com.loopj.android.http.RequestParams
-
Adds files array to the request.
- put(String, File[], String, String) - Method in class com.loopj.android.http.RequestParams
-
Adds files array to the request with both custom provided file content-type and files name
- put(String, File) - Method in class com.loopj.android.http.RequestParams
-
Adds a file to the request.
- put(String, String, File) - Method in class com.loopj.android.http.RequestParams
-
Adds a file to the request with custom provided file name
- put(String, File, String) - Method in class com.loopj.android.http.RequestParams
-
Adds a file to the request with custom provided file content-type
- put(String, File, String, String) - Method in class com.loopj.android.http.RequestParams
-
Adds a file to the request with both custom provided file content-type and file name
- put(String, InputStream) - Method in class com.loopj.android.http.RequestParams
-
Adds an input stream to the request.
- put(String, InputStream, String) - Method in class com.loopj.android.http.RequestParams
-
Adds an input stream to the request.
- put(String, InputStream, String, String) - Method in class com.loopj.android.http.RequestParams
-
Adds an input stream to the request.
- put(String, InputStream, String, String, boolean) - Method in class com.loopj.android.http.RequestParams
-
Adds an input stream to the request.
- put(String, Object) - Method in class com.loopj.android.http.RequestParams
-
Adds param with non-string value (e.g.
- put(String, int) - Method in class com.loopj.android.http.RequestParams
-
Adds a int value to the request.
- put(String, long) - Method in class com.loopj.android.http.RequestParams
-
Adds a long value to the request.
- SaxAsyncHttpResponseHandler<T extends org.xml.sax.helpers.DefaultHandler> - Class in com.loopj.android.http
-
Provides interface to deserialize SAX responses, using AsyncHttpResponseHandler.
- SaxAsyncHttpResponseHandler(T) - Constructor for class com.loopj.android.http.SaxAsyncHttpResponseHandler
-
Constructs new SaxAsyncHttpResponseHandler with given handler instance
- sendCancelMessage() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendCancelMessage() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Notifies callback, that request was cancelled
- sendFailureMessage(int, Header[], byte[], Throwable) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendFailureMessage(int, Header[], byte[], Throwable) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Returns if request was completed with error code or failure of implementation
- sendFinishMessage() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendFinishMessage() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Notifies callback, that request was completed and is being removed from thread pool
- sendMessage(Message) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendProgressDataMessage(byte[]) - Method in class com.loopj.android.http.DataAsyncHttpResponseHandler
-
- sendProgressMessage(long, long) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendProgressMessage(long, long) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Notifies callback, that request (mainly uploading) has progressed
- sendRequest(DefaultHttpClient, HttpContext, HttpUriRequest, String, ResponseHandlerInterface, Context) - Method in class com.loopj.android.http.AsyncHttpClient
-
Puts a new request in queue as a new thread in pool to be executed
- sendRequest(DefaultHttpClient, HttpContext, HttpUriRequest, String, ResponseHandlerInterface, Context) - Method in class com.loopj.android.http.SyncHttpClient
-
- sendResponseMessage(HttpResponse) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendResponseMessage(HttpResponse) - Method in class com.loopj.android.http.BinaryHttpResponseHandler
-
- sendResponseMessage(HttpResponse) - Method in class com.loopj.android.http.RangeFileAsyncHttpResponseHandler
-
- sendResponseMessage(HttpResponse) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Returns data whether request completed successfully
- sendRetryMessage(int) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendRetryMessage(int) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Notifies callback of retrying request
- sendStartMessage() - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendStartMessage() - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Notifies callback, that request started execution
- sendSuccessMessage(int, Header[], byte[]) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- sendSuccessMessage(int, Header[], byte[]) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Notifies callback, that request was handled successfully
- SerializableCookie - Class in com.loopj.android.http
-
- SerializableCookie(Cookie) - Constructor for class com.loopj.android.http.SerializableCookie
-
- setAuthenticationPreemptive(boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets HttpRequestInterceptor which handles authorization in preemptive way, as workaround you
can use call `AsyncHttpClient.addHeader("Authorization","Basic base64OfUsernameAndPassword==")`
- setAutoCloseInputStreams(boolean) - Method in class com.loopj.android.http.RequestParams
-
Set global flag which determines whether to automatically close input streams on successful
upload.
- setBasicAuth(String, String) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets basic authentication for the request.
- setBasicAuth(String, String, boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets basic authentication for the request.
- setBasicAuth(String, String, AuthScope) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets basic authentication for the request.
- setBasicAuth(String, String, AuthScope, boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets basic authentication for the request.
- setCharset(String) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
Sets the charset for the response string.
- setConnectTimeout(int) - Method in class com.loopj.android.http.AsyncHttpClient
-
Set connection timeout limit (milliseconds).
- setContentEncoding(String) - Method in class com.loopj.android.http.RequestParams
-
- setCookieStore(CookieStore) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets an optional CookieStore to use when making requests
- setCredentials(AuthScope, Credentials) - Method in class com.loopj.android.http.AsyncHttpClient
-
- setElapsedFieldInJsonStreamer(String) - Method in class com.loopj.android.http.RequestParams
-
Sets an additional field when upload a JSON object through the streamer
to hold the time, in milliseconds, it took to upload the payload.
- setEnableRedirects(boolean, boolean, boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
Simple interface method, to enable or disable redirects.
- setEnableRedirects(boolean, boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
Circular redirects are enabled by default
- setEnableRedirects(boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
- setForceMultipartEntityContentType(boolean) - Method in class com.loopj.android.http.RequestParams
-
If set to true will force Content-Type header to `multipart/form-data`
even if there are not Files or Streams to be send
- setHttpEntityIsRepeatable(boolean) - Method in class com.loopj.android.http.RequestParams
-
- setLoggingEnabled(boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
Will set logging enabled flag on underlying LogInterface instance.
- setLoggingEnabled(boolean) - Method in class com.loopj.android.http.LogHandler
-
- setLoggingEnabled(boolean) - Method in interface com.loopj.android.http.LogInterface
-
- setLoggingLevel(int) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets log level to be used across all library default implementation
Default setting is VERBOSE log level.
- setLoggingLevel(int) - Method in class com.loopj.android.http.LogHandler
-
- setLoggingLevel(int) - Method in interface com.loopj.android.http.LogInterface
-
- setLogInterface(LogInterface) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets default LogInterface (similar to std Android Log util class) instance,
to be used in AsyncHttpClient instance
- setMaxConnections(int) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets maximum limit of parallel connections
- setMaxRetriesAndTimeout(int, int) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets the maximum number of retries and timeout for a particular Request.
- setOmitNonPersistentCookies(boolean) - Method in class com.loopj.android.http.PersistentCookieStore
-
Will make PersistentCookieStore instance ignore Cookies, which are non-persistent by
signature (`Cookie.isPersistent`)
- setProxy(String, int) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets the Proxy by it's hostname and port
- setProxy(String, int, String, String) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets the Proxy by it's hostname,port,username and password
- setRedirectHandler(RedirectHandler) - Method in class com.loopj.android.http.AsyncHttpClient
-
Allows you to set custom RedirectHandler implementation, if the default provided doesn't suit
your needs
- setRequestHeaders(Header[]) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- setRequestHeaders(Header[]) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Helper for handlers to receive Request Header[] info
- setRequestTag(Object) - Method in class com.loopj.android.http.AsyncHttpRequest
-
Will set Object as TAG to this request, wrapped by WeakReference
- setRequestURI(URI) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- setRequestURI(URI) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Helper for handlers to receive Request URI info
- setResponseTimeout(int) - Method in class com.loopj.android.http.AsyncHttpClient
-
Set response timeout limit (milliseconds).
- setSSLSocketFactory(SSLSocketFactory) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets the SSLSocketFactory to user when making requests.
- setTag(Object) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- setTag(Object) - Method in class com.loopj.android.http.RequestHandle
-
Will set Object as TAG to underlying AsyncHttpRequest
- setTag(Object) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Will set TAG to ResponseHandlerInterface implementation, which can be then obtained
in implemented methods, such as onSuccess, onFailure, ...
- setThreadPool(ExecutorService) - Method in class com.loopj.android.http.AsyncHttpClient
-
Overrides the threadpool implementation used when queuing/pooling requests.
- setTimeout(int) - Method in class com.loopj.android.http.AsyncHttpClient
-
Set both the connection and socket timeouts.
- setURLEncodingEnabled(boolean) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets state of URL encoding feature, see bug #227, this method allows you to turn off and on
this auto-magic feature on-demand.
- setUseJsonStreamer(boolean) - Method in class com.loopj.android.http.RequestParams
-
- setUsePoolThread(boolean) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- setUsePoolThread(boolean) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Sets whether the handler should be executed on the pool's thread or the
UI thread
- setUserAgent(String) - Method in class com.loopj.android.http.AsyncHttpClient
-
Sets the User-Agent header to be sent with each request.
- setUseRFC5179CompatibilityMode(boolean) - Method in class com.loopj.android.http.JsonHttpResponseHandler
-
- setUseSynchronousMode(boolean) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
-
- setUseSynchronousMode(boolean) - Method in interface com.loopj.android.http.ResponseHandlerInterface
-
Can set, whether the handler should be asynchronous or synchronous
- shouldBeGarbageCollected() - Method in class com.loopj.android.http.RequestHandle
-
- shouldLog(int) - Method in class com.loopj.android.http.LogHandler
-
- shouldLog(int) - Method in interface com.loopj.android.http.LogInterface
-
- silentCloseInputStream(InputStream) - Static method in class com.loopj.android.http.AsyncHttpClient
-
A utility function to close an input stream without raising an exception.
- silentCloseOutputStream(OutputStream) - Static method in class com.loopj.android.http.AsyncHttpClient
-
A utility function to close an output stream without raising an exception.
- START_MESSAGE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
-
- streamParams - Variable in class com.loopj.android.http.RequestParams
-
- StreamWrapper(InputStream, String, String, boolean) - Constructor for class com.loopj.android.http.RequestParams.StreamWrapper
-
- SUCCESS_MESSAGE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
-
- SyncHttpClient - Class in com.loopj.android.http
-
Processes http requests in synchronous mode, so your caller thread will be blocked on each
request
- SyncHttpClient() - Constructor for class com.loopj.android.http.SyncHttpClient
-
Creates a new SyncHttpClient with default constructor arguments values
- SyncHttpClient(int) - Constructor for class com.loopj.android.http.SyncHttpClient
-
Creates a new SyncHttpClient.
- SyncHttpClient(int, int) - Constructor for class com.loopj.android.http.SyncHttpClient
-
Creates a new SyncHttpClient.
- SyncHttpClient(boolean, int, int) - Constructor for class com.loopj.android.http.SyncHttpClient
-
Creates new SyncHttpClient using given params
- SyncHttpClient(SchemeRegistry) - Constructor for class com.loopj.android.http.SyncHttpClient
-
Creates a new SyncHttpClient.