Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

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
 

B

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.

C

cancel(boolean) - Method in class com.loopj.android.http.AsyncHttpRequest
 
cancel(boolean) - Method in class com.loopj.android.http.RequestHandle
Attempts to cancel this request.
CANCEL_MESSAGE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
 
cancelAllRequests(boolean) - Method in class com.loopj.android.http.AsyncHttpClient
Cancels all pending (or potentially active) requests.
cancelRequests(Context, boolean) - Method in class com.loopj.android.http.AsyncHttpClient
Cancels any pending (or potentially active) requests associated with the passed Context.
cancelRequestsByTAG(Object, boolean) - Method in class com.loopj.android.http.AsyncHttpClient
Allows you to cancel all requests currently in queue or running, by set TAG, if passed TAG is null, will not attempt to cancel any requests, if TAG is null on RequestHandle, it cannot be canceled by this call
clear() - Method in class com.loopj.android.http.PersistentCookieStore
 
clearCredentialsProvider() - Method in class com.loopj.android.http.AsyncHttpClient
Removes previously set auth credentials
clearExpired(Date) - Method in class com.loopj.android.http.PersistentCookieStore
 
close() - Method in class com.loopj.android.http.Base64OutputStream
 
com.loopj.android.http - package com.loopj.android.http
 
consumeContent() - Method in class com.loopj.android.http.JsonStreamerEntity
 
contentEncoding - Variable in class com.loopj.android.http.RequestParams
 
contentType - Variable in class com.loopj.android.http.RequestParams.FileWrapper
 
contentType - Variable in class com.loopj.android.http.RequestParams.StreamWrapper
 
copyOfRange(byte[], int, int) - Static method in class com.loopj.android.http.DataAsyncHttpResponseHandler
Copies elements from original into a new array, from indexes start (inclusive) to end (exclusive).
createConnectionManager(SchemeRegistry, BasicHttpParams) - Method in class com.loopj.android.http.AsyncHttpClient
Provided so it is easier for developers to provide custom ThreadSafeClientConnManager implementation
createSocket(Socket, String, int, boolean) - Method in class com.loopj.android.http.MySSLSocketFactory
 
createSocket() - Method in class com.loopj.android.http.MySSLSocketFactory
 
CRLF - Static variable in class com.loopj.android.http.Base64
Encoder flag bit to indicate lines should be terminated with a CRLF pair instead of just an LF.
customFileName - Variable in class com.loopj.android.http.RequestParams.FileWrapper
 

D

d(String, String) - Method in class com.loopj.android.http.LogHandler
 
d(String, String, Throwable) - Method in class com.loopj.android.http.LogHandler
 
d(String, String) - Method in interface com.loopj.android.http.LogInterface
 
d(String, String, Throwable) - Method in interface com.loopj.android.http.LogInterface
 
DataAsyncHttpResponseHandler - Class in com.loopj.android.http
 
DataAsyncHttpResponseHandler() - Constructor for class com.loopj.android.http.DataAsyncHttpResponseHandler
Creates a new AsyncHttpResponseHandler
DEBUG - Static variable in interface com.loopj.android.http.LogInterface
 
decode(String, int) - Static method in class com.loopj.android.http.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int) - Static method in class com.loopj.android.http.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int, int, int) - Static method in class com.loopj.android.http.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decodeCookie(String) - Method in class com.loopj.android.http.PersistentCookieStore
Returns cookie decoded from cookie string
DEFAULT - Static variable in class com.loopj.android.http.Base64
Default values for encoder/decoder flags.
DEFAULT_CHARSET - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
 
DEFAULT_MAX_CONNECTIONS - Static variable in class com.loopj.android.http.AsyncHttpClient
 
DEFAULT_MAX_RETRIES - Static variable in class com.loopj.android.http.AsyncHttpClient
 
DEFAULT_RETRY_SLEEP_TIME_MILLIS - Static variable in class com.loopj.android.http.AsyncHttpClient
 
DEFAULT_SOCKET_BUFFER_SIZE - Static variable in class com.loopj.android.http.AsyncHttpClient
 
DEFAULT_SOCKET_TIMEOUT - Static variable in class com.loopj.android.http.AsyncHttpClient
 
delete(String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP DELETE request.
delete(Context, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP DELETE request.
delete(Context, String, Header[], ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP DELETE request.
delete(String, RequestParams, AsyncHttpResponseHandler) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP DELETE request.
delete(Context, String, Header[], RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP DELETE request.
delete(Context, String, HttpEntity, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP DELETE request and track the Android Context which initiated the request.
deleteCookie(Cookie) - Method in class com.loopj.android.http.PersistentCookieStore
Non-standard helper method, to delete cookie
deleteTargetFile() - Method in class com.loopj.android.http.FileAsyncHttpResponseHandler
Attempts to delete file with stored response

E

e(String, String) - Method in class com.loopj.android.http.LogHandler
 
e(String, String, Throwable) - Method in class com.loopj.android.http.LogHandler
 
e(String, String) - Method in interface com.loopj.android.http.LogInterface
 
e(String, String, Throwable) - Method in interface com.loopj.android.http.LogInterface
 
elapsedFieldInJsonStreamer - Variable in class com.loopj.android.http.RequestParams
 
encode(byte[], int) - Static method in class com.loopj.android.http.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encode(byte[], int, int, int) - Static method in class com.loopj.android.http.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encodeCookie(SerializableCookie) - Method in class com.loopj.android.http.PersistentCookieStore
Serializes Cookie object into String
encodeToString(byte[], int) - Static method in class com.loopj.android.http.Base64
Base64-encode the given data and return a newly allocated String with the result.
encodeToString(byte[], int, int, int) - Static method in class com.loopj.android.http.Base64
Base64-encode the given data and return a newly allocated String with the result.
ENCODING_GZIP - Static variable in class com.loopj.android.http.AsyncHttpClient
 
endEntityViaReflection(HttpEntity) - Static method in class com.loopj.android.http.AsyncHttpClient
This horrible hack is required on Android, due to implementation of BasicManagedEntity, which doesn't chain call consumeContent on underlying wrapped HttpEntity
ERROR - Static variable in interface com.loopj.android.http.LogInterface
 

F

FAILURE_MESSAGE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
 
file - Variable in class com.loopj.android.http.FileAsyncHttpResponseHandler
 
file - Variable in class com.loopj.android.http.RequestParams.FileWrapper
 
fileArrayParams - Variable in class com.loopj.android.http.RequestParams
 
FileAsyncHttpResponseHandler - Class in com.loopj.android.http
 
FileAsyncHttpResponseHandler(File) - Constructor for class com.loopj.android.http.FileAsyncHttpResponseHandler
Obtains new FileAsyncHttpResponseHandler and stores response in passed file
FileAsyncHttpResponseHandler(File, boolean) - Constructor for class com.loopj.android.http.FileAsyncHttpResponseHandler
Obtains new FileAsyncHttpResponseHandler and stores response in passed file
FileAsyncHttpResponseHandler(File, boolean, boolean) - Constructor for class com.loopj.android.http.FileAsyncHttpResponseHandler
Obtains new FileAsyncHttpResponseHandler and stores response in passed file
FileAsyncHttpResponseHandler(File, boolean, boolean, boolean) - Constructor for class com.loopj.android.http.FileAsyncHttpResponseHandler
Obtains new FileAsyncHttpResponseHandler and stores response in passed file
FileAsyncHttpResponseHandler(Context) - Constructor for class com.loopj.android.http.FileAsyncHttpResponseHandler
Obtains new FileAsyncHttpResponseHandler against context with target being temporary file
fileParams - Variable in class com.loopj.android.http.RequestParams
 
FileWrapper(File, String, String) - Constructor for class com.loopj.android.http.RequestParams.FileWrapper
 
FINISH_MESSAGE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
 
fixHttpsURLConnection() - Method in class com.loopj.android.http.MySSLSocketFactory
Makes HttpsURLConnection trusts a set of certificates specified by the KeyStore
forceMultipartEntity - Variable in class com.loopj.android.http.RequestParams
 
frontendFile - Variable in class com.loopj.android.http.FileAsyncHttpResponseHandler
 

G

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

H

handleMessage(Message) - Method in class com.loopj.android.http.AsyncHttpResponseHandler
 
handleMessage(Message) - Method in class com.loopj.android.http.DataAsyncHttpResponseHandler
 
has(String) - Method in class com.loopj.android.http.RequestParams
Check if a parameter is defined.
head(String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP HEAD request, without any parameters.
head(String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP HEAD request with parameters.
head(Context, String, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP HEAD request without any parameters and track the Android Context which initiated the request.
head(Context, String, RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP HEAD request and track the Android Context which initiated the request.
head(Context, String, Header[], RequestParams, ResponseHandlerInterface) - Method in class com.loopj.android.http.AsyncHttpClient
Perform a HTTP HEAD request and track the Android Context which initiated the request with customized headers
HEADER_ACCEPT_ENCODING - Static variable in class com.loopj.android.http.AsyncHttpClient
 
HEADER_CONTENT_DISPOSITION - Static variable in class com.loopj.android.http.AsyncHttpClient
 
HEADER_CONTENT_ENCODING - Static variable in class com.loopj.android.http.AsyncHttpClient
 
HEADER_CONTENT_RANGE - Static variable in class com.loopj.android.http.AsyncHttpClient
 
HEADER_CONTENT_TYPE - Static variable in class com.loopj.android.http.AsyncHttpClient
 
hexStringToByteArray(String) - Method in class com.loopj.android.http.PersistentCookieStore
Converts hex values from strings to byte arra
HttpDelete - Class in com.loopj.android.http
The current Android (API level 21) bundled version of the Apache Http Client does not implement a HttpEntityEnclosingRequestBase type of HTTP DELETE method.
HttpDelete() - Constructor for class com.loopj.android.http.HttpDelete
 
HttpDelete(URI) - Constructor for class com.loopj.android.http.HttpDelete
 
HttpDelete(String) - Constructor for class com.loopj.android.http.HttpDelete
 
HttpGet - Class in com.loopj.android.http
The current Android (API level 21) bundled version of the Apache Http Client does not implement a HttpEntityEnclosingRequestBase type of HTTP GET method.
HttpGet() - Constructor for class com.loopj.android.http.HttpGet
 
HttpGet(URI) - Constructor for class com.loopj.android.http.HttpGet
 
HttpGet(String) - Constructor for class com.loopj.android.http.HttpGet
 

I

i(String, String) - Method in class com.loopj.android.http.LogHandler
 
i(String, String, Throwable) - Method in class com.loopj.android.http.LogHandler
 
i(String, String) - Method in interface com.loopj.android.http.LogInterface
 
i(String, String, Throwable) - Method in interface com.loopj.android.http.LogInterface
 
INFO - Static variable in interface com.loopj.android.http.LogInterface
 
inputStream - Variable in class com.loopj.android.http.RequestParams.StreamWrapper
 
isCancelled() - Method in class com.loopj.android.http.AsyncHttpRequest
 
isCancelled() - Method in class com.loopj.android.http.RequestHandle
Returns true if this task was cancelled before it completed normally.
isChunked() - Method in class com.loopj.android.http.JsonStreamerEntity
 
isDone() - Method in class com.loopj.android.http.AsyncHttpRequest
 
isFinished() - Method in class com.loopj.android.http.RequestHandle
Returns true if this task completed.
isInputStreamGZIPCompressed(PushbackInputStream) - Static method in class com.loopj.android.http.AsyncHttpClient
Checks the InputStream if it contains GZIP compressed data
isLoggingEnabled() - Method in class com.loopj.android.http.AsyncHttpClient
Returns logging enabled flag from underlying LogInterface instance Default setting is logging enabled.
isLoggingEnabled() - Method in class com.loopj.android.http.LogHandler
 
isLoggingEnabled() - Method in interface com.loopj.android.http.LogInterface
 
isRepeatable() - Method in class com.loopj.android.http.JsonStreamerEntity
 
isRepeatable - Variable in class com.loopj.android.http.RequestParams
 
isStreaming() - Method in class com.loopj.android.http.JsonStreamerEntity
 
isUrlEncodingEnabled() - Method in class com.loopj.android.http.AsyncHttpClient
 
isUseRFC5179CompatibilityMode() - Method in class com.loopj.android.http.JsonHttpResponseHandler
 

J

JsonHttpResponseHandler - Class in com.loopj.android.http
Used to intercept and handle the responses from requests made using AsyncHttpClient, with automatic parsing into a JSONObject or JSONArray.
JsonHttpResponseHandler() - Constructor for class com.loopj.android.http.JsonHttpResponseHandler
Creates new JsonHttpResponseHandler, with JSON String encoding UTF-8
JsonHttpResponseHandler(String) - Constructor for class com.loopj.android.http.JsonHttpResponseHandler
Creates new JsonHttpResponseHandler with given JSON String encoding
JsonHttpResponseHandler(boolean) - Constructor for class com.loopj.android.http.JsonHttpResponseHandler
Creates new JsonHttpResponseHandler with JSON String encoding UTF-8 and given RFC5179CompatibilityMode
JsonHttpResponseHandler(String, boolean) - Constructor for class com.loopj.android.http.JsonHttpResponseHandler
Creates new JsonHttpResponseHandler with given JSON String encoding and RFC5179CompatibilityMode
JsonStreamerEntity - Class in com.loopj.android.http
HTTP entity to upload JSON data using streams.
JsonStreamerEntity(ResponseHandlerInterface, boolean, String) - Constructor for class com.loopj.android.http.JsonStreamerEntity
 
JsonValueInterface - Interface in com.loopj.android.http
This interface is used to encapsulate JSON values that are handled entirely by the app.

L

log - Static variable in class com.loopj.android.http.AsyncHttpClient
 
log(int, String, String) - Method in class com.loopj.android.http.LogHandler
 
LOG_TAG - Static variable in class com.loopj.android.http.AsyncHttpClient
 
LOG_TAG - Static variable in class com.loopj.android.http.RequestParams
 
LogHandler - Class in com.loopj.android.http
 
LogHandler() - Constructor for class com.loopj.android.http.LogHandler
 
LogInterface - Interface in com.loopj.android.http
Interface independent to any library, which currently uses same interface as Log implementation You can change currently used LogInterface through AsyncHttpClient.setLogInterface(LogInterface)
logWithThrowable(int, String, String, Throwable) - Method in class com.loopj.android.http.LogHandler
 

M

METHOD_NAME - Static variable in class com.loopj.android.http.HttpDelete
 
METHOD_NAME - Static variable in class com.loopj.android.http.HttpGet
 
MySSLSocketFactory - Class in com.loopj.android.http
This file is introduced to fix HTTPS Post bug on API < ICS see https://code.google.com/p/android/issues/detail?id=13117#c14
MySSLSocketFactory(KeyStore) - Constructor for class com.loopj.android.http.MySSLSocketFactory
Creates a new SSL Socket Factory with the given KeyStore.

N

name - Variable in class com.loopj.android.http.RequestParams.StreamWrapper
 
newAsyncHttpRequest(DefaultHttpClient, HttpContext, HttpUriRequest, String, ResponseHandlerInterface, Context) - Method in class com.loopj.android.http.AsyncHttpClient
Instantiate a new asynchronous HTTP request for the passed parameters.
NO_CLOSE - Static variable in class com.loopj.android.http.Base64
Flag to pass to Base64OutputStream to indicate that it should not close the output stream it is wrapping when it itself is closed.
NO_PADDING - Static variable in class com.loopj.android.http.Base64
Encoder flag bit to omit the padding '=' characters at the end of the output (if any).
NO_WRAP - Static variable in class com.loopj.android.http.Base64
Encoder flag bit to omit all line terminators (i.e., the output will be on one long line).

O

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
 

P

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.

R

RangeFileAsyncHttpResponseHandler - Class in com.loopj.android.http
 
RangeFileAsyncHttpResponseHandler(File) - Constructor for class com.loopj.android.http.RangeFileAsyncHttpResponseHandler
Obtains new RangeFileAsyncHttpResponseHandler and stores response in passed file
remove(String) - Method in class com.loopj.android.http.RequestParams
Removes a parameter from the request.
removeAllHeaders() - Method in class com.loopj.android.http.AsyncHttpClient
Will, before sending, remove all headers currently present in AsyncHttpClient instance, which applies on all requests this client makes
removeHeader(String) - Method in class com.loopj.android.http.AsyncHttpClient
Remove header from all requests this client makes (before sending).
renameIfExists - Variable in class com.loopj.android.http.FileAsyncHttpResponseHandler
 
RequestHandle - Class in com.loopj.android.http
A Handle to an AsyncRequest which can be used to cancel a running request.
RequestHandle(AsyncHttpRequest) - Constructor for class com.loopj.android.http.RequestHandle
 
RequestParams - Class in com.loopj.android.http
A collection of string request parameters or files to send along with requests made from an AsyncHttpClient instance.
RequestParams() - Constructor for class com.loopj.android.http.RequestParams
Constructs a new empty RequestParams instance.
RequestParams(Map<String, String>) - Constructor for class com.loopj.android.http.RequestParams
Constructs a new RequestParams instance containing the key/value string params from the specified map.
RequestParams(String, String) - Constructor for class com.loopj.android.http.RequestParams
Constructs a new RequestParams instance and populate it with a single initial key/value string param.
RequestParams(Object...) - Constructor for class com.loopj.android.http.RequestParams
Constructs a new RequestParams instance and populate it with multiple initial key/value string param.
RequestParams.FileWrapper - Class in com.loopj.android.http
 
RequestParams.StreamWrapper - Class in com.loopj.android.http
 
ResponseHandlerInterface - Interface in com.loopj.android.http
Interface to standardize implementations
RETRY_MESSAGE - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
 
run() - Method in class com.loopj.android.http.AsyncHttpRequest
 

S

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
A wrapper class around Cookie and/or BasicClientCookie designed for use in PersistentCookieStore.
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
Sets content encoding for return value of RequestParams.getParamString() and RequestParams.createFormEntity()
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.

T

TextHttpResponseHandler - Class in com.loopj.android.http
Used to intercept and handle the responses from requests made using AsyncHttpClient.
TextHttpResponseHandler() - Constructor for class com.loopj.android.http.TextHttpResponseHandler
Creates new instance with default UTF-8 encoding
TextHttpResponseHandler(String) - Constructor for class com.loopj.android.http.TextHttpResponseHandler
Creates new instance with given string encoding
toString() - Method in class com.loopj.android.http.RequestParams
 

U

updateRequestHeaders(HttpUriRequest) - Method in class com.loopj.android.http.RangeFileAsyncHttpResponseHandler
 
URL_SAFE - Static variable in class com.loopj.android.http.Base64
Encoder/decoder flag bit to indicate using the "URL and filename safe" variant of Base64 (see RFC 3548 section 4) where - and _ are used in place of + and /.
urlParams - Variable in class com.loopj.android.http.RequestParams
 
urlParamsWithObjects - Variable in class com.loopj.android.http.RequestParams
 
useJsonStreamer - Variable in class com.loopj.android.http.RequestParams
 
UTF8_BOM - Static variable in class com.loopj.android.http.AsyncHttpResponseHandler
 

V

v(String, String) - Method in class com.loopj.android.http.LogHandler
 
v(String, String, Throwable) - Method in class com.loopj.android.http.LogHandler
 
v(String, String) - Method in interface com.loopj.android.http.LogInterface
 
v(String, String, Throwable) - Method in interface com.loopj.android.http.LogInterface
 
VERBOSE - Static variable in interface com.loopj.android.http.LogInterface
 

W

w(String, String) - Method in class com.loopj.android.http.LogHandler
 
w(String, String, Throwable) - Method in class com.loopj.android.http.LogHandler
 
w(String, String) - Method in interface com.loopj.android.http.LogInterface
 
w(String, String, Throwable) - Method in interface com.loopj.android.http.LogInterface
 
WARN - Static variable in interface com.loopj.android.http.LogInterface
 
write(int) - Method in class com.loopj.android.http.Base64OutputStream
 
write(byte[], int, int) - Method in class com.loopj.android.http.Base64OutputStream
 
writeTo(OutputStream) - Method in class com.loopj.android.http.JsonStreamerEntity
 
wtf(String, String) - Method in class com.loopj.android.http.LogHandler
 
wtf(String, String, Throwable) - Method in class com.loopj.android.http.LogHandler
 
WTF - Static variable in interface com.loopj.android.http.LogInterface
 
wtf(String, String) - Method in interface com.loopj.android.http.LogInterface
 
wtf(String, String, Throwable) - Method in interface com.loopj.android.http.LogInterface
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links