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

A

abort(Throwable) - Method in interface com.ning.http.client.FutureImpl
 
abort(Throwable) - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
abort(Throwable) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
abortOnConnectCloseException(Throwable) - Static method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
abortOnReadCloseException(Throwable) - Static method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
abortOnWriteCloseException(Throwable) - Static method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
accumulate(HttpContent) - Method in class com.ning.http.client.Response.ResponseBuilder
Accumulate HttpContent in order to build a Response
add(String, String...) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Adds the specified values and returns this object.
add(String, Collection<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Adds the specified values and returns this object.
add(String, String...) - Method in class com.ning.http.client.FluentStringsMap
Adds the specified values and returns this object.
add(String, Collection<String>) - Method in class com.ning.http.client.FluentStringsMap
Adds the specified values and returns this object.
addAll(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Adds all key-values pairs from the given object to this object and returns this object.
addAll(Map<String, Collection<String>>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Adds all key-values pairs from the given map to this object and returns this object.
addAll(FluentStringsMap) - Method in class com.ning.http.client.FluentStringsMap
Adds all key-values pairs from the given object to this object and returns this object.
addAll(Map<String, Collection<String>>) - Method in class com.ning.http.client.FluentStringsMap
Adds all key-values pairs from the given map to this object and returns this object.
addAsyncFilter(AsyncFilter) - Method in class com.ning.http.client.AsyncHttpClient
Add an AsyncFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
addBodyPart(Part) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addBodyPart(Part) - Method in class com.ning.http.client.RequestBuilder
 
addBodyPart(Part) - Method in class com.ning.http.client.RequestBuilderBase
 
addConnection(U, V) - Method in interface com.ning.http.client.ConnectionsPool
Add a connection tpo the pool
addConnection(String, Channel) - Method in class com.ning.http.client.providers.netty.NettyConnectionsPool
Add a connection tpo the pool
addCookie(Cookie) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addCookie(Cookie) - Method in class com.ning.http.client.RequestBuilder
 
addCookie(Cookie) - Method in class com.ning.http.client.RequestBuilderBase
 
addHeader(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addHeader(String, String) - Method in class com.ning.http.client.RequestBuilder
 
addHeader(String, String) - Method in class com.ning.http.client.RequestBuilderBase
 
addParameter(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addParameter(String, String) - Method in class com.ning.http.client.RequestBuilder
 
addParameter(String, String) - Method in class com.ning.http.client.RequestBuilderBase
 
addProperty(U, V) - Method in interface com.ning.http.client.AsyncHttpProviderConfig
Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider
addProperty(String, String) - Method in class com.ning.http.client.providers.jdk.JDKAsyncHttpProviderConfig
 
addProperty(String, Object) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Add a property that will be used when the AsyncHttpClient initialize its AsyncHttpProvider
addQueryParameter(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addQueryParameter(String, String) - Method in class com.ning.http.client.RequestBuilder
 
addQueryParameter(String, String) - Method in class com.ning.http.client.RequestBuilderBase
 
ALLOW_NESTED_REQUEST - Static variable in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Allow nested request from any AsyncHandler
appendEncoded(StringBuilder, String) - Static method in class com.ning.http.util.UTF8UrlEncoder
 
AsyncCompletionHandler<T> - Class in com.ning.http.client
An AsyncHandler augmented with an AsyncCompletionHandler.onCompleted(Response) convenience method which gets called when the Response has been fully received.
AsyncCompletionHandler() - Constructor for class com.ning.http.client.AsyncCompletionHandler
 
AsyncCompletionHandlerBase - Class in com.ning.http.client
Simple AsyncHandler of type Response NOTE: Sending another asynchronous request from an AsyncHandler must be done using another thread to avoid potential deadlock inside the AsyncHttpProvider The recommended way is to use the ExecutorService from the AsyncHttpClientConfig: &#64;Override public Response onCompleted(Response response) throws Exception &#123; asyncHttpClient.getConfig().executorService().execute(new Runnable() &#123; public void run() &#123; asyncHttpClient.prepareGet(...); &#125; &#125;); return response; &#125;
AsyncCompletionHandlerBase() - Constructor for class com.ning.http.client.AsyncCompletionHandlerBase
 
AsyncFilter - Interface in com.ning.http.client.filter
A Filter interface that gets invoked before making an actual request.
AsyncFilterContext<T> - Class in com.ning.http.client.filter
A simple object that hold reference to an AsyncHandler and Request
AsyncFilterContext(AsyncHandler<T>, Request) - Constructor for class com.ning.http.client.filter.AsyncFilterContext
 
AsyncFilterException - Exception in com.ning.http.client.filter
An exception that can be thrown by an AsyncHandler to interrupt the request processing.
AsyncFilterException(String) - Constructor for exception com.ning.http.client.filter.AsyncFilterException
 
AsyncFilterException(String, Throwable) - Constructor for exception com.ning.http.client.filter.AsyncFilterException
 
AsyncHandler<T> - Interface in com.ning.http.client
An asynchronous handler or callback which gets invoked as soon as some data are available when processing an asynchronous response.
AsyncHandler.STATE - Enum in com.ning.http.client
 
AsyncHttpClient - Class in com.ning.http.client
This class support asynchronous and synchronous HTTP request.
AsyncHttpClient() - Constructor for class com.ning.http.client.AsyncHttpClient
Create a new HTTP Asynchronous Client using the default AsyncHttpClientConfig configuration.
AsyncHttpClient(AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.AsyncHttpClient
Create a new HTTP Asynchronous Client using an implementation of AsyncHttpProvider and the default AsyncHttpClientConfig configuration.
AsyncHttpClient(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.AsyncHttpClient
Create a new HTTP Asynchronous Client using a AsyncHttpClientConfig configuration and the AsyncHttpClient.DEFAULT_PROVIDER
AsyncHttpClient(AsyncHttpProvider<?>, AsyncHttpClientConfig) - Constructor for class com.ning.http.client.AsyncHttpClient
Create a new HTTP Asynchronous Client using a AsyncHttpClientConfig configuration and and a AsyncHttpProvider.
AsyncHttpClient(String, AsyncHttpClientConfig) - Constructor for class com.ning.http.client.AsyncHttpClient
Create a new HTTP Asynchronous Client using a AsyncHttpClientConfig configuration and and a AsyncHttpProvider class' name.
AsyncHttpClient.BoundRequestBuilder - Class in com.ning.http.client
 
AsyncHttpClientConfig - Class in com.ning.http.client
Configuration class to use with a AsyncHttpClient.
AsyncHttpClientConfig.Builder - Class in com.ning.http.client
Builder for an AsyncHttpClient
AsyncHttpClientConfig.Builder() - Constructor for class com.ning.http.client.AsyncHttpClientConfig.Builder
 
AsyncHttpProvider<A> - Interface in com.ning.http.client
Interface to be used when implementing custom asynchronous I/O HTTP client.
AsyncHttpProviderConfig<U,V> - Interface in com.ning.http.client
AsyncHttpProvider proprietary configurable properties.
AsyncHttpProviderUtils - Class in com.ning.http.util
AsyncHttpProvider common utilities.
AsyncHttpProviderUtils() - Constructor for class com.ning.http.util.AsyncHttpProviderUtils
 
attachChannel(Channel) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
Attach a Channel for further re-use.
AuthenticatorUtils - Class in com.ning.http.util
 
AuthenticatorUtils() - Constructor for class com.ning.http.util.AuthenticatorUtils
 

B

Base64 - Class in com.ning.http.util
Implements the "base64" binary encoding scheme as defined by RFC 2045.
baseURL - Variable in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
URL used as the base, not including possibly query parameters.
Body - Interface in com.ning.http.client
A request body.
BodyGenerator - Interface in com.ning.http.client
Creates a request body.
BOUNDARY - Static variable in class com.ning.http.multipart.Part
The boundary
build() - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
build() - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Build an AsyncHttpClientConfig
build() - Method in class com.ning.http.client.Realm.RealmBuilder
Build a Realm
build() - Method in class com.ning.http.client.RequestBuilder
 
build() - Method in class com.ning.http.client.RequestBuilderBase
 
build() - Method in class com.ning.http.client.Response.ResponseBuilder
Build a Response instance
buildRequest(AsyncHttpClientConfig, Request, URI, boolean, ChannelBuffer) - Static method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
ByteArrayPart - Class in com.ning.http.client
 
ByteArrayPart(String, String, byte[], String, String) - Constructor for class com.ning.http.client.ByteArrayPart
 
ByteArrayPartSource - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
ByteArrayPartSource(String, byte[]) - Constructor for class com.ning.http.multipart.ByteArrayPartSource
Constructor for ByteArrayPartSource.

C

calculateAndAddSignature(String, Request, RequestBuilderBase<?>) - Method in class com.ning.http.client.oauth.OAuthSignatureCalculator
 
calculateAndAddSignature(String, Request, RequestBuilderBase<?>) - Method in interface com.ning.http.client.SignatureCalculator
Method called when RequestBuilder.build() method is called.
calculateSignature(String, String, long, String, FluentStringsMap, FluentStringsMap) - Method in class com.ning.http.client.oauth.OAuthSignatureCalculator
Method for calculating OAuth signature using HMAC/SHA-1 method.
canCacheConnection() - Method in interface com.ning.http.client.ConnectionsPool
Return true if a connection can be cached.
canCacheConnection() - Method in class com.ning.http.client.providers.netty.NettyConnectionsPool
Return true if a connection can be cached.
cancel(boolean) - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
cancel(boolean) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
canRetry() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
channel() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
Return the channel that was previously used.
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
channelIdle(ChannelHandlerContext, IdleState, long) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
CHARSET - Static variable in class com.ning.http.multipart.Part
Content charset
chunk() - Method in class com.ning.http.client.providers.netty.ResponseBodyPart
 
clear() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
clear() - Method in class com.ning.http.client.FluentStringsMap
clone(Realm) - Method in class com.ning.http.client.Realm.RealmBuilder
 
close() - Method in class com.ning.http.client.AsyncHttpClient
Close the underlying connections.
close() - Method in interface com.ning.http.client.AsyncHttpProvider
Close the current underlying TCP/HTTP connection.s
close() - Method in interface com.ning.http.client.Body
Releases any resources associated with this body.
close() - Method in class com.ning.http.client.FileBodyGenerator.FileBody
 
close() - Method in class com.ning.http.client.providers.jdk.JDKAsyncHttpProvider
 
close() - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
com.ning.http.client - package com.ning.http.client
 
com.ning.http.client.filter - package com.ning.http.client.filter
 
com.ning.http.client.logging - package com.ning.http.client.logging
 
com.ning.http.client.oauth - package com.ning.http.client.oauth
 
com.ning.http.client.providers.jdk - package com.ning.http.client.providers.jdk
 
com.ning.http.client.providers.netty - package com.ning.http.client.providers.netty
 
com.ning.http.client.webdav - package com.ning.http.client.webdav
 
com.ning.http.multipart - package com.ning.http.multipart
 
com.ning.http.util - package com.ning.http.util
 
computeBasicAuthentication(Realm) - Static method in class com.ning.http.util.AuthenticatorUtils
 
computeBasicAuthentication(ProxyServer) - Static method in class com.ning.http.util.AuthenticatorUtils
 
computeDigestAuthentication(Realm) - Static method in class com.ning.http.util.AuthenticatorUtils
 
ConnectionsPool<U,V> - Interface in com.ning.http.client
An interface used by an AsyncHttpProvider for caching http connections.
constructAuthHeader(String, String, long) - Method in class com.ning.http.client.oauth.OAuthSignatureCalculator
Method used for constructing
consumerAuth - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
 
ConsumerKey - Class in com.ning.http.client.oauth
Value class for OAuth consumer keys.
ConsumerKey(String, String) - Constructor for class com.ning.http.client.oauth.ConsumerKey
 
containsKey(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
containsKey(Object) - Method in class com.ning.http.client.FluentStringsMap
containsValue(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
containsValue(Object) - Method in class com.ning.http.client.FluentStringsMap
CONTENT_DISPOSITION - Static variable in class com.ning.http.multipart.Part
Content dispostion characters
CONTENT_TRANSFER_ENCODING - Static variable in class com.ning.http.multipart.Part
Content type header
CONTENT_TYPE - Static variable in class com.ning.http.multipart.Part
Content type header
Cookie - Class in com.ning.http.client
 
Cookie(String, String, String, String, int, boolean) - Constructor for class com.ning.http.client.Cookie
 
Cookie(String, String, String, String, int, boolean, int) - Constructor for class com.ning.http.client.Cookie
 
createBody() - Method in interface com.ning.http.client.BodyGenerator
Creates a new instance of the request body to be read.
createBody() - Method in class com.ning.http.client.FileBodyGenerator
 
createInputStream() - Method in class com.ning.http.multipart.ByteArrayPartSource
 
createInputStream() - Method in class com.ning.http.multipart.FilePartSource
Return a new FileInputStream for the current filename.
createInputStream() - Method in interface com.ning.http.multipart.PartSource
Gets a new InputStream for reading this source.
createMultipartRequestEntity(List<Part>, FluentStringsMap) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
This is quite ugly as our internal names are duplicated, but we build on top of HTTP Client implementation.
createUri(String) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
 
CRLF - Static variable in class com.ning.http.multipart.Part
Carriage return/linefeed
currentThread() - Static method in class com.ning.http.util.AsyncHttpProviderUtils
 

D

debug(String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
debug(Throwable) - Method in class com.ning.http.client.logging.JulLogger
 
debug(Throwable, String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
debug(String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
debug(Throwable) - Method in class com.ning.http.client.logging.Log4jLogger
 
debug(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
debug(String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
debug(Throwable) - Method in interface com.ning.http.client.logging.Logger
 
debug(Throwable, String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
debug(String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
debug(Throwable) - Method in class com.ning.http.client.logging.Slf4jLogger
 
debug(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
decode(String) - Static method in class com.ning.http.util.Base64
Decodes the specified base64 string back into its raw data.
DEFAULT_CHARSET - Static variable in class com.ning.http.multipart.FilePart
Default charset of file attachments.
DEFAULT_CHARSET - Static variable in class com.ning.http.multipart.StringPart
Default charset of string parameters
DEFAULT_CONTENT_TYPE - Static variable in class com.ning.http.multipart.FilePart
Default content encoding of file attachments.
DEFAULT_CONTENT_TYPE - Static variable in class com.ning.http.multipart.StringPart
Default content encoding of string parameters.
DEFAULT_TRANSFER_ENCODING - Static variable in class com.ning.http.multipart.FilePart
Default transfer encoding of file attachments.
DEFAULT_TRANSFER_ENCODING - Static variable in class com.ning.http.multipart.StringPart
Default transfer encoding of string parameters
delete(String) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Removes the values for the given key if present and returns this object.
delete(String) - Method in class com.ning.http.client.FluentStringsMap
Removes the values for the given key if present and returns this object.
deleteAll(String...) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Removes the values for the given keys if present and returns this object.
deleteAll(Collection<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Removes the values for the given keys if present and returns this object.
deleteAll(String...) - Method in class com.ning.http.client.FluentStringsMap
Removes the values for the given keys if present and returns this object.
deleteAll(Collection<String>) - Method in class com.ning.http.client.FluentStringsMap
Removes the values for the given keys if present and returns this object.
destroy() - Method in interface com.ning.http.client.ConnectionsPool
Destroy all connections that has been cached by this instance.
destroy() - Method in class com.ning.http.client.providers.netty.NettyConnectionsPool
Destroy all connections that has been cached by this instance.
digest(byte[]) - Method in class com.ning.http.client.oauth.ThreadSafeHMAC
 
done(Callable) - Method in interface com.ning.http.client.FutureImpl
Execute a Callable and if there is no exception, mark this Future as done and release the internal lock.
done(Callable) - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
done(Callable) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 

E

encode(byte[]) - Static method in class com.ning.http.util.Base64
Encodes the specified data into a base64 string.
encode(String) - Static method in class com.ning.http.util.UTF8UrlEncoder
 
encodeCookies(Collection<Cookie>) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
 
entrySet() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
entrySet() - Method in class com.ning.http.client.FluentStringsMap
equals(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
 
equals(Object) - Method in class com.ning.http.client.FluentStringsMap
 
equals(Object) - Method in class com.ning.http.client.oauth.ConsumerKey
 
equals(Object) - Method in class com.ning.http.client.oauth.RequestToken
 
equals(Object) - Method in class com.ning.http.client.Realm
 
error(String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
error(Throwable) - Method in class com.ning.http.client.logging.JulLogger
 
error(Throwable, String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
error(String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
error(Throwable) - Method in class com.ning.http.client.logging.Log4jLogger
 
error(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
error(String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
error(Throwable) - Method in interface com.ning.http.client.logging.Logger
 
error(Throwable, String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
error(String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
error(Throwable) - Method in class com.ning.http.client.logging.Slf4jLogger
 
error(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
execute(AsyncHandler<T>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
execute() - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
execute(Request, AsyncHandler<T>) - Method in interface com.ning.http.client.AsyncHttpProvider
Execute the request and invoke the AsyncHandler when the response arrive.
execute(Request, AsyncHandler<T>) - Method in class com.ning.http.client.providers.jdk.JDKAsyncHttpProvider
 
execute(Request, AsyncHandler<T>) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
EXECUTE_ASYNC_CONNECT - Static variable in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Execute the connect operation asynchronously.
executeRequest(Request, AsyncHandler<T>) - Method in class com.ning.http.client.AsyncHttpClient
Execute an HTTP request.
executeRequest(Request) - Method in class com.ning.http.client.AsyncHttpClient
Execute an HTTP request.
executorService() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the ExecutorService an AsyncHttpClient use for handling asynchronous response.
EXTRA - Static variable in class com.ning.http.multipart.Part
Extra characters

F

FILE_NAME - Static variable in class com.ning.http.multipart.FilePart
Attachment's file name
FileBodyGenerator - Class in com.ning.http.client
Creates a request body from the contents of a file.
FileBodyGenerator(File) - Constructor for class com.ning.http.client.FileBodyGenerator
 
FileBodyGenerator.FileBody - Class in com.ning.http.client
 
FileBodyGenerator.FileBody(File) - Constructor for class com.ning.http.client.FileBodyGenerator.FileBody
 
FilePart - Class in com.ning.http.client
A file multipart part.
FilePart(String, File, String, String) - Constructor for class com.ning.http.client.FilePart
 
FilePart - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
FilePart(String, PartSource, String, String) - Constructor for class com.ning.http.multipart.FilePart
FilePart Constructor.
FilePart(String, PartSource) - Constructor for class com.ning.http.multipart.FilePart
FilePart Constructor.
FilePart(String, File) - Constructor for class com.ning.http.multipart.FilePart
FilePart Constructor.
FilePart(String, File, String, String) - Constructor for class com.ning.http.multipart.FilePart
FilePart Constructor.
FilePart(String, String, File) - Constructor for class com.ning.http.multipart.FilePart
FilePart Constructor.
FilePart(String, String, File, String, String) - Constructor for class com.ning.http.multipart.FilePart
FilePart Constructor.
FilePartSource - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
FilePartSource(File) - Constructor for class com.ning.http.multipart.FilePartSource
Constructor for FilePartSource.
FilePartSource(String, File) - Constructor for class com.ning.http.multipart.FilePartSource
Constructor for FilePartSource.
filter(AsyncFilterContext) - Method in interface com.ning.http.client.filter.AsyncFilter
 
filter(AsyncFilterContext) - Method in class com.ning.http.client.filter.ThrottleRequestAsyncFilter
 
finalize() - Method in class com.ning.http.client.AsyncHttpClient
 
FluentCaseInsensitiveStringsMap - Class in com.ning.http.client
An implementation of a String -> List<String> map that adds a fluent interface, i.e.
FluentCaseInsensitiveStringsMap() - Constructor for class com.ning.http.client.FluentCaseInsensitiveStringsMap
 
FluentCaseInsensitiveStringsMap(FluentCaseInsensitiveStringsMap) - Constructor for class com.ning.http.client.FluentCaseInsensitiveStringsMap
 
FluentCaseInsensitiveStringsMap(Map<String, Collection<String>>) - Constructor for class com.ning.http.client.FluentCaseInsensitiveStringsMap
 
FluentStringsMap - Class in com.ning.http.client
An implementation of a String -> List<String> map that adds a fluent interface, i.e.
FluentStringsMap() - Constructor for class com.ning.http.client.FluentStringsMap
 
FluentStringsMap(FluentStringsMap) - Constructor for class com.ning.http.client.FluentStringsMap
 
FluentStringsMap(Map<String, Collection<String>>) - Constructor for class com.ning.http.client.FluentStringsMap
 
fromProxy(Proxy) - Static method in class com.ning.http.client.ProxyServer
Convert from Java java.net.Proxy object.
fromUTF8(byte[]) - Static method in class com.ning.http.util.UTF8Codec
 
fromUTF8(byte[], int, int) - Static method in class com.ning.http.util.UTF8Codec
 
FutureImpl<V> - Interface in com.ning.http.client
Extended Future

G

get(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
get(Object) - Method in class com.ning.http.client.FluentStringsMap
get() - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
get(long, TimeUnit) - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
get() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
get(long, TimeUnit) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
getAlgorithm() - Method in class com.ning.http.client.Realm
 
getAlgorithm() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getAndSetAuth(boolean) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getAndSetStatusReceived(boolean) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getAsciiBytes(String) - Static method in class com.ning.http.multipart.MultipartEncodingUtil
 
getAsciiString(byte[]) - Static method in class com.ning.http.multipart.MultipartEncodingUtil
 
getAsyncHandler() - Method in class com.ning.http.client.filter.AsyncFilterContext
 
getAsyncHandler() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getAsyncHttpProviderConfig() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the AsyncHttpProviderConfig
getAuthScheme() - Method in class com.ning.http.client.Realm
 
getBaseUrl(URI) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
 
getBodyAsXML() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getBodyByteBuffer() - Method in class com.ning.http.client.HttpResponseBodyPart
Return the underlying ByteBuffer
getBodyByteBuffer() - Method in class com.ning.http.client.providers.jdk.ResponseBodyPart
 
getBodyByteBuffer() - Method in class com.ning.http.client.providers.netty.ResponseBodyPart
 
getBodyGenerator() - Method in interface com.ning.http.client.Request
Return the current request's body generator.
getBodyPartBytes() - Method in class com.ning.http.client.HttpResponseBodyPart
Return the response body's part bytes received.
getBodyPartBytes() - Method in class com.ning.http.client.providers.jdk.ResponseBodyPart
Return the response body's part bytes received.
getBodyPartBytes() - Method in class com.ning.http.client.providers.netty.ResponseBodyPart
Return the response body's part bytes received.
getBoundary() - Static method in class com.ning.http.multipart.Part
Deprecated. uses a constant string. Rather use Part.getPartBoundary()
getByteData() - Method in interface com.ning.http.client.Request
Return the current request's body as a byte array
getBytes(String, String) - Static method in class com.ning.http.multipart.MultipartEncodingUtil
 
getCharSet() - Method in class com.ning.http.client.ByteArrayPart
 
getCharSet() - Method in class com.ning.http.client.FilePart
 
getCharSet() - Method in class com.ning.http.multipart.Part
Return the character encoding of this part.
getCharSet() - Method in class com.ning.http.multipart.PartBase
Return the character encoding of this part.
getCnonce() - Method in class com.ning.http.client.Realm
 
getConfig() - Method in class com.ning.http.client.AsyncHttpClient
Return the AsyncHttpClientConfig
getConnection(U) - Method in interface com.ning.http.client.ConnectionsPool
Return the connection associated with the uri
getConnection(String) - Method in class com.ning.http.client.providers.netty.NettyConnectionsPool
Return the connection associated with the uri
getConnectionsPool() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return an instance of ConnectionsPool
getConnectionTimeoutInMs() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the maximum time in millisecond an AsyncHttpClient can wait when connecting to a remote host
getContentLength() - Method in interface com.ning.http.client.Body
Gets the length of the body.
getContentLength() - Method in class com.ning.http.client.FileBodyGenerator.FileBody
 
getContentLength() - Method in class com.ning.http.multipart.MultipartRequestEntity
 
getContentLength() - Method in interface com.ning.http.multipart.RequestEntity
Gets the request entity's length.
getContentType() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getContentType() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getContentType() - Method in interface com.ning.http.client.Response
Return the content-type header value.
getContentType() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getContentType() - Method in class com.ning.http.multipart.MultipartRequestEntity
 
getContentType() - Method in class com.ning.http.multipart.Part
Returns the content type of this part.
getContentType() - Method in class com.ning.http.multipart.PartBase
Returns the content type of this part.
getContentType() - Method in interface com.ning.http.multipart.RequestEntity
Gets the entity's content type.
getCookies() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getCookies() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getCookies() - Method in interface com.ning.http.client.Request
Return Coookie.
getCookies() - Method in interface com.ning.http.client.Response
Return the list of Cookie.
getCookies() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getData() - Method in class com.ning.http.client.ByteArrayPart
 
getDomain() - Method in class com.ning.http.client.Cookie
 
getDomain() - Method in class com.ning.http.client.Realm
Return the NTLM domain to use.
getDomain() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getEncoding() - Method in class com.ning.http.client.ProxyServer
 
getEncoding() - Method in class com.ning.http.client.Realm
 
getEncoding() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getEntityWriter() - Method in interface com.ning.http.client.Request
Return the current request's body as an EntityWriter
getFile() - Method in class com.ning.http.client.FilePart
 
getFile() - Method in interface com.ning.http.client.Request
Return the File to upload.
getFileName() - Method in class com.ning.http.client.ByteArrayPart
 
getFileName() - Method in class com.ning.http.multipart.ByteArrayPartSource
 
getFileName() - Method in class com.ning.http.multipart.FilePartSource
Return the current filename
getFileName() - Method in interface com.ning.http.multipart.PartSource
Gets the name of the file this source represents.
getFirstValue(String) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Returns the value for the given key.
getFirstValue(String) - Method in class com.ning.http.client.FluentStringsMap
Returns the value for the given key.
getHeader(String) - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getHeader(String) - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getHeader(String) - Method in interface com.ning.http.client.Response
Return the response header
getHeader(String) - Method in class com.ning.http.client.webdav.WebDavResponse
 
getHeaders() - Method in class com.ning.http.client.HttpResponseHeaders
Return the HTTP header
getHeaders(String) - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getHeaders() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getHeaders() - Method in class com.ning.http.client.providers.jdk.ResponseHeaders
Return the HTTP header
getHeaders(String) - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getHeaders() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getHeaders() - Method in class com.ning.http.client.providers.netty.ResponseHeaders
Return the HTTP header
getHeaders() - Method in interface com.ning.http.client.Request
Return the current set of Headers.
getHeaders(String) - Method in interface com.ning.http.client.Response
Return a List of the response header value.
getHeaders() - Method in interface com.ning.http.client.Response
 
getHeaders(String) - Method in class com.ning.http.client.webdav.WebDavResponse
 
getHeaders() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getHost() - Method in class com.ning.http.client.ProxyServer
 
getHttpResponse() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getIdleConnectionTimeoutInMs() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the maximum time in millisecond an AsyncHttpClient can stay idle.
getJoinedValue(String, String) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Returns the values for the given key joined into a single string using the given delimiter.
getJoinedValue(String, String) - Method in class com.ning.http.client.FluentStringsMap
Returns the values for the given key joined into a single string using the given delimiter.
getKeepAlive() - Method in class com.ning.http.client.AsyncHttpClientConfig
Is HTTP keep-alive enabled.
getKeepAlive() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getKey() - Method in class com.ning.http.client.oauth.ConsumerKey
 
getKey() - Method in class com.ning.http.client.oauth.RequestToken
 
getLength() - Method in interface com.ning.http.client.Request
Return the current size of the content-lenght header based on the body's size.
getLength() - Method in class com.ning.http.multipart.ByteArrayPartSource
 
getLength() - Method in class com.ning.http.multipart.FilePartSource
Return the length of the file
getLength() - Method in interface com.ning.http.multipart.PartSource
Gets the number of bytes contained in this source.
getLengthOfParts(Part[]) - Static method in class com.ning.http.multipart.Part
Return the total sum of all parts and that of the last boundary
getLengthOfParts(Part[], byte[]) - Static method in class com.ning.http.multipart.Part
Gets the length of the multipart message including the given parts.
getLogger(Class<?>) - Method in class com.ning.http.client.logging.JulLoggerProvider
 
getLogger(Class<?>) - Method in class com.ning.http.client.logging.Log4jLoggerProvider
 
getLogger(Class<?>) - Method in interface com.ning.http.client.logging.LoggerProvider
 
getLogger(Class<?>) - Static method in class com.ning.http.client.logging.LogManager
 
getLogger(Class<?>) - Method in class com.ning.http.client.logging.Slf4jLoggerProvider
 
getMaxAge() - Method in class com.ning.http.client.Cookie
 
getMaxConnectionPerHost() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the maximum number of connections per hosts an AsyncHttpClient can handle.
getMaxRedirects() - Method in class com.ning.http.client.AsyncHttpClientConfig
Get the maximum number of HTTP redirect
getMaxTotalConnections() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the maximum number of connections an AsyncHttpClient can handle.
getMethodName() - Method in class com.ning.http.client.Realm
 
getMethodName() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getMimeType() - Method in class com.ning.http.client.ByteArrayPart
 
getMimeType() - Method in class com.ning.http.client.FilePart
 
getMultipartBoundary() - Method in class com.ning.http.multipart.MultipartRequestEntity
Returns the MIME boundary string that is used to demarcate boundaries of this part.
getName() - Method in class com.ning.http.client.ByteArrayPart
 
getName() - Method in class com.ning.http.client.Cookie
 
getName() - Method in class com.ning.http.client.FilePart
 
getName() - Method in interface com.ning.http.client.Part
 
getName() - Method in class com.ning.http.client.StringPart
 
getName() - Method in class com.ning.http.multipart.Part
Return the name of this part.
getName() - Method in class com.ning.http.multipart.PartBase
Returns the name.
getNc() - Method in class com.ning.http.client.Realm
 
getNc() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getNettyRequest() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getNonce() - Method in class com.ning.http.client.Realm
 
getNonce() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getParams() - Method in interface com.ning.http.client.Request
Return the current parameters.
getPartBoundary() - Method in class com.ning.http.multipart.Part
Gets the part boundary to be used.
getParts() - Method in interface com.ning.http.client.Request
Return the current Part
getPassword() - Method in class com.ning.http.client.ProxyServer
 
getPassword() - Method in class com.ning.http.client.Realm
 
getPassword() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getPath() - Method in class com.ning.http.client.Cookie
 
getPerRequestConfig() - Method in interface com.ning.http.client.Request
Return Per request configuration.
getPort() - Method in class com.ning.http.client.ProxyServer
 
getPort(URI) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
 
getPorts() - Method in class com.ning.http.client.Cookie
 
getPrincipal() - Method in class com.ning.http.client.ProxyServer
 
getPrincipal() - Method in class com.ning.http.client.Realm
 
getPrincipal() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getProperty(U) - Method in interface com.ning.http.client.AsyncHttpProviderConfig
Return the value associated with the property's name
getProperty(String) - Method in class com.ning.http.client.providers.jdk.JDKAsyncHttpProviderConfig
 
getProperty(String) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Return the value associated with the property's name
getProtocol() - Method in class com.ning.http.client.ProxyServer
 
getProtocol() - Method in enum com.ning.http.client.ProxyServer.Protocol
 
getProtocolAsString() - Method in class com.ning.http.client.ProxyServer
 
getProtocolMajorVersion() - Method in class com.ning.http.client.HttpResponseStatus
Protocol major version.
getProtocolMajorVersion() - Method in class com.ning.http.client.providers.jdk.ResponseStatus
 
getProtocolMajorVersion() - Method in class com.ning.http.client.providers.netty.ResponseStatus
 
getProtocolMinorVersion() - Method in class com.ning.http.client.HttpResponseStatus
Protocol minor version.
getProtocolMinorVersion() - Method in class com.ning.http.client.providers.jdk.ResponseStatus
 
getProtocolMinorVersion() - Method in class com.ning.http.client.providers.netty.ResponseStatus
 
getProtocolName() - Method in class com.ning.http.client.HttpResponseStatus
Protocol name from status line.
getProtocolName() - Method in class com.ning.http.client.providers.jdk.ResponseStatus
 
getProtocolName() - Method in class com.ning.http.client.providers.netty.ResponseStatus
 
getProtocolText() - Method in class com.ning.http.client.HttpResponseStatus
Full protocol name + version
getProtocolText() - Method in class com.ning.http.client.providers.jdk.ResponseStatus
 
getProtocolText() - Method in class com.ning.http.client.providers.netty.ResponseStatus
 
getProvider() - Method in class com.ning.http.client.AsyncHttpClient
Return the asynchronous AsyncHttpProvider
getProxyServer() - Method in class com.ning.http.client.AsyncHttpClientConfig
An instance of ProxyServer used by an AsyncHttpClient
getProxyServer() - Method in class com.ning.http.client.PerRequestConfig
 
getProxyServer() - Method in interface com.ning.http.client.Request
Return the ProxyServer
getQop() - Method in class com.ning.http.client.Realm
 
getQop() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getQueryParams() - Method in interface com.ning.http.client.Request
Return the query params.
getRawUrl() - Method in interface com.ning.http.client.Request
Return the undecoded url
getRealm() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the current Realm}
getRealm() - Method in interface com.ning.http.client.Request
Return the Realm
getRealmName() - Method in class com.ning.http.client.Realm
 
getRealmName() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getReqType() - Method in interface com.ning.http.client.Request
Return the request's type (GET, POST, etc.)
getRequest() - Method in class com.ning.http.client.filter.AsyncFilterContext
 
getRequest() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getRequestTimeoutInMs() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the maximum time in millisecond an AsyncHttpClient wait for a response
getRequestTimeoutInMs() - Method in class com.ning.http.client.PerRequestConfig
 
getResponse() - Method in class com.ning.http.client.Realm
 
getResponse() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getResponseBody() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getResponseBody() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getResponseBody() - Method in interface com.ning.http.client.Response
Return the entire response body as a String.
getResponseBody() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getResponseBodyAsStream() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getResponseBodyAsStream() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getResponseBodyAsStream() - Method in interface com.ning.http.client.Response
Returns an input stream for the response body.
getResponseBodyAsStream() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getResponseBodyExcerpt(int) - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getResponseBodyExcerpt(int) - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getResponseBodyExcerpt(int) - Method in interface com.ning.http.client.Response
Returns the first maxLength bytes of the response body as a string.
getResponseBodyExcerpt(int) - Method in class com.ning.http.client.webdav.WebDavResponse
 
getScheme() - Method in class com.ning.http.client.Realm
 
getScheme() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getSecret() - Method in class com.ning.http.client.oauth.ConsumerKey
 
getSecret() - Method in class com.ning.http.client.oauth.RequestToken
 
getSource() - Method in class com.ning.http.multipart.FilePart
Returns the source of the file part.
getSSLContext() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return an instance of SSLContext used for SSL connection.
getSSLContext() - Static method in class com.ning.http.util.SslUtils
 
getSSLEngine() - Static method in class com.ning.http.util.SslUtils
 
getSSLEngineFactory() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return an instance of SSLEngineFactory used for SSL connection.
getState() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getStatusCode() - Method in class com.ning.http.client.HttpResponseStatus
Return the response status code
getStatusCode() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getStatusCode() - Method in class com.ning.http.client.providers.jdk.ResponseStatus
Return the response status code
getStatusCode() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getStatusCode() - Method in class com.ning.http.client.providers.netty.ResponseStatus
Return the response status code
getStatusCode() - Method in interface com.ning.http.client.Response
Returns the status code for the request.
getStatusCode() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getStatusText() - Method in class com.ning.http.client.HttpResponseStatus
Return the response status text
getStatusText() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getStatusText() - Method in class com.ning.http.client.providers.jdk.ResponseStatus
Return the response status text
getStatusText() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getStatusText() - Method in class com.ning.http.client.providers.netty.ResponseStatus
Return the response status text
getStatusText() - Method in interface com.ning.http.client.Response
Returns the status text for the request.
getStatusText() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getStreamData() - Method in interface com.ning.http.client.Request
Return the current request's body as an InputStream
getStringData() - Method in interface com.ning.http.client.Request
Return the current request's body as a string
getTransferEncoding() - Method in class com.ning.http.multipart.Part
Return the transfer encoding of this part.
getTransferEncoding() - Method in class com.ning.http.multipart.PartBase
Returns the transfer encoding of this part.
getUri() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
getUri() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
getURI() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
getUri() - Method in class com.ning.http.client.Realm
 
getUri() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getUri() - Method in interface com.ning.http.client.Response
Return the request URI.
getUri() - Method in class com.ning.http.client.webdav.WebDavResponse
 
getUrl() - Method in class com.ning.http.client.HttpContent
 
getUrl() - Method in interface com.ning.http.client.Request
Return the decoded url
getUsePreemptiveAuth() - Method in class com.ning.http.client.Realm
Return true is preemptive authentication is enabled
getUsePreemptiveAuth() - Method in class com.ning.http.client.Realm.RealmBuilder
 
getUserAgent() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the USER_AGENT header value
getValue() - Method in class com.ning.http.client.Cookie
 
getValue() - Method in class com.ning.http.client.StringPart
 
getVersion() - Method in class com.ning.http.client.Cookie
 
getVirtualHost() - Method in interface com.ning.http.client.Request
Return the virtual host value.

H

hasExpired() - Method in class com.ning.http.client.providers.jdk.JDKFuture
Is the Future still valid
hasExpired() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
Is the Future still valid
hashCode() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
 
hashCode() - Method in class com.ning.http.client.FluentStringsMap
 
hashCode() - Method in class com.ning.http.client.oauth.ConsumerKey
 
hashCode() - Method in class com.ning.http.client.oauth.RequestToken
 
hashCode() - Method in class com.ning.http.client.Realm
 
hasResponseBody() - Method in class com.ning.http.client.providers.jdk.JDKResponse
Return true if the response's body has been computed by an AsyncHandler.
hasResponseBody() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
Return true if the response's body has been computed by an AsyncHandler.
hasResponseBody() - Method in interface com.ning.http.client.Response
Return true if the response's body has been computed by an AsyncHandler.
hasResponseBody() - Method in class com.ning.http.client.webdav.WebDavResponse
 
hasResponseHeaders() - Method in class com.ning.http.client.providers.jdk.JDKResponse
Return true if the response's headers has been computed by an AsyncHandler It will return false if the either AsyncHandler.onStatusReceived(HttpResponseStatus) or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
hasResponseHeaders() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
Return true if the response's headers has been computed by an AsyncHandler It will return false if the either AsyncHandler.onStatusReceived(HttpResponseStatus) or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
hasResponseHeaders() - Method in interface com.ning.http.client.Response
Return true if the response's headers has been computed by an AsyncHandler It will return false if the either AsyncHandler.onStatusReceived(HttpResponseStatus) or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
hasResponseHeaders() - Method in class com.ning.http.client.webdav.WebDavResponse
 
hasResponseStatus() - Method in class com.ning.http.client.providers.jdk.JDKResponse
Return true if the response's status has been computed by an AsyncHandler
hasResponseStatus() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
Return true if the response's status has been computed by an AsyncHandler
hasResponseStatus() - Method in interface com.ning.http.client.Response
Return true if the response's status has been computed by an AsyncHandler
hasResponseStatus() - Method in class com.ning.http.client.webdav.WebDavResponse
 
HEADER_AUTHORIZATION - Static variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
 
HttpContent - Class in com.ning.http.client
Base class for callback class used by AsyncHandler
HttpContent(URI, AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.HttpContent
 
HttpResponseBodyPart - Class in com.ning.http.client
A callback class used when an HTTP response body is received.
HttpResponseBodyPart(URI, AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.HttpResponseBodyPart
 
HttpResponseHeaders - Class in com.ning.http.client
A class that represent the HTTP headers.
HttpResponseHeaders(URI, AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.HttpResponseHeaders
 
HttpResponseHeaders(URI, AsyncHttpProvider<?>, boolean) - Constructor for class com.ning.http.client.HttpResponseHeaders
 
HttpResponseStatus - Class in com.ning.http.client
A class that represent the HTTP response' status line (code + text)
HttpResponseStatus(URI, AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.HttpResponseStatus
 

I

IN_IO_THREAD - Static variable in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
incrementAndGetCurrentRedirectCount() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
info(String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
info(Throwable) - Method in class com.ning.http.client.logging.JulLogger
 
info(Throwable, String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
info(String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
info(Throwable) - Method in class com.ning.http.client.logging.Log4jLogger
 
info(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
info(String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
info(Throwable) - Method in interface com.ning.http.client.logging.Logger
 
info(Throwable, String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
info(String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
info(Throwable) - Method in class com.ning.http.client.logging.Slf4jLogger
 
info(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
initialValue() - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean
 
isCancelled() - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
isCancelled() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
isCompressionEnabled() - Method in class com.ning.http.client.AsyncHttpClientConfig
Is HTTP compression enabled.
isDebugEnabled() - Method in class com.ning.http.client.logging.JulLogger
 
isDebugEnabled() - Method in class com.ning.http.client.logging.Log4jLogger
 
isDebugEnabled() - Method in interface com.ning.http.client.logging.Logger
 
isDebugEnabled() - Method in class com.ning.http.client.logging.Slf4jLogger
 
isDone() - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
isDone() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
isEmpty() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
isEmpty() - Method in class com.ning.http.client.FluentStringsMap
isInAuth() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
isRedirected() - Method in class com.ning.http.client.providers.jdk.JDKResponse
 
isRedirected() - Method in class com.ning.http.client.providers.netty.NettyAsyncResponse
 
isRedirected() - Method in interface com.ning.http.client.Response
Return true if the response redirects to another object.
isRedirected() - Method in class com.ning.http.client.webdav.WebDavResponse
 
isRedirectEnabled() - Method in class com.ning.http.client.AsyncHttpClientConfig
Is HTTP redirect enabled
isRedirectEnabled() - Method in interface com.ning.http.client.Request
Return the true> to follow redirect
isRepeatable() - Method in class com.ning.http.multipart.MultipartRequestEntity
Returns true if all parts are repeatable, false otherwise.
isRepeatable() - Method in class com.ning.http.multipart.Part
Tests if this part can be sent more than once.
isRepeatable() - Method in interface com.ning.http.multipart.RequestEntity
Tests if RequestEntity.writeRequest(java.io.OutputStream) can be called more than once.
isSecure() - Method in class com.ning.http.client.Cookie
 
isTraillingHeadersReceived() - Method in class com.ning.http.client.HttpResponseHeaders
Return true is headers has been received after the response body.
iterator() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
iterator() - Method in class com.ning.http.client.FluentStringsMap

J

JDKAsyncHttpProvider - Class in com.ning.http.client.providers.jdk
 
JDKAsyncHttpProvider(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.providers.jdk.JDKAsyncHttpProvider
 
JDKAsyncHttpProviderConfig - Class in com.ning.http.client.providers.jdk
 
JDKAsyncHttpProviderConfig() - Constructor for class com.ning.http.client.providers.jdk.JDKAsyncHttpProviderConfig
 
JDKFuture<V> - Class in com.ning.http.client.providers.jdk
 
JDKFuture(AsyncHandler<V>, int) - Constructor for class com.ning.http.client.providers.jdk.JDKFuture
 
JDKResponse - Class in com.ning.http.client.providers.jdk
 
JDKResponse(HttpResponseStatus, HttpResponseHeaders, Collection<HttpResponseBodyPart>) - Constructor for class com.ning.http.client.providers.jdk.JDKResponse
 
JulLogger - Class in com.ning.http.client.logging
 
JulLoggerProvider - Class in com.ning.http.client.logging
 
JulLoggerProvider() - Constructor for class com.ning.http.client.logging.JulLoggerProvider
 

K

keySet() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
keySet() - Method in class com.ning.http.client.FluentStringsMap

L

length() - Method in class com.ning.http.multipart.Part
Return the full length of all the data.
lengthOfData() - Method in class com.ning.http.multipart.FilePart
Return the length of the data.
lengthOfData() - Method in class com.ning.http.multipart.Part
Return the length of the main content
lengthOfData() - Method in class com.ning.http.multipart.StringPart
Return the length of the data.
Log4jLogger - Class in com.ning.http.client.logging
 
Log4jLoggerProvider - Class in com.ning.http.client.logging
 
Log4jLoggerProvider() - Constructor for class com.ning.http.client.logging.Log4jLoggerProvider
 
Logger - Interface in com.ning.http.client.logging
 
LoggerProvider - Interface in com.ning.http.client.logging
 
LogManager - Class in com.ning.http.client.logging
 
LogManager() - Constructor for class com.ning.http.client.logging.LogManager
 

M

mac - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
 
MAX_RETRY - Static variable in class com.ning.http.client.providers.netty.NettyResponseFuture
 
MaxRedirectException - Exception in com.ning.http.client
Thrown when the AsyncHttpClientConfig.getMaxRedirects() has been reached.
MaxRedirectException() - Constructor for exception com.ning.http.client.MaxRedirectException
 
MaxRedirectException(String) - Constructor for exception com.ning.http.client.MaxRedirectException
 
MaxRedirectException(Throwable) - Constructor for exception com.ning.http.client.MaxRedirectException
 
MaxRedirectException(String, Throwable) - Constructor for exception com.ning.http.client.MaxRedirectException
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
MultipartEncodingUtil - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
MultipartEncodingUtil() - Constructor for class com.ning.http.multipart.MultipartEncodingUtil
 
MultipartRequestEntity - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
MultipartRequestEntity(Part[], FluentStringsMap) - Constructor for class com.ning.http.multipart.MultipartRequestEntity
Creates a new multipart entity containing the given parts.

N

NettyAsyncHttpProvider - Class in com.ning.http.client.providers.netty
 
NettyAsyncHttpProvider(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
NettyAsyncHttpProvider.ThreadLocalBoolean - Class in com.ning.http.client.providers.netty
 
NettyAsyncHttpProvider.ThreadLocalBoolean() - Constructor for class com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean
 
NettyAsyncHttpProvider.ThreadLocalBoolean(boolean) - Constructor for class com.ning.http.client.providers.netty.NettyAsyncHttpProvider.ThreadLocalBoolean
 
NettyAsyncHttpProviderConfig - Class in com.ning.http.client.providers.netty
 
NettyAsyncHttpProviderConfig() - Constructor for class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
 
NettyAsyncResponse - Class in com.ning.http.client.providers.netty
Wrapper around the Response API.
NettyAsyncResponse(HttpResponseStatus, HttpResponseHeaders, Collection<HttpResponseBodyPart>) - Constructor for class com.ning.http.client.providers.netty.NettyAsyncResponse
 
NettyConnectionsPool - Class in com.ning.http.client.providers.netty
A simple implementation of ConnectionsPool based on a ConcurrentHashMap
NettyConnectionsPool(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.providers.netty.NettyConnectionsPool
 
NettyResponseFuture<V> - Class in com.ning.http.client.providers.netty
A Future that can be used to track when an asynchronous HTTP request has been fully processed.
NettyResponseFuture(URI, Request, AsyncHandler<V>, HttpRequest, int, NettyAsyncHttpProvider) - Constructor for class com.ning.http.client.providers.netty.NettyResponseFuture
 
newSSLEngine() - Method in interface com.ning.http.client.SSLEngineFactory
Creates new SSLEngine.
nonceBuffer - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
 

O

OAuthSignatureCalculator - Class in com.ning.http.client.oauth
Simple OAuth signature calculator that can used for constructing client signatures for accessing services that use OAuth for authorization.
OAuthSignatureCalculator(ConsumerKey, RequestToken) - Constructor for class com.ning.http.client.oauth.OAuthSignatureCalculator
 
onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked as soon as some response body part are received.
onBodyPartReceived(HttpResponseBodyPart) - Method in interface com.ning.http.client.AsyncHandler
Invoked as soon as some response body part are received.
onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
Invoked as soon as some response body part are received.
onCompleted() - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked once the HTTP response has been fully received
onCompleted(Response) - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked once the HTTP response has been fully read.
onCompleted(Response) - Method in class com.ning.http.client.AsyncCompletionHandlerBase
 
onCompleted() - Method in interface com.ning.http.client.AsyncHandler
Invoked once the HTTP response has been fully received
onCompleted() - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
Invoked once the HTTP response has been fully received
onCompleted(WebDavResponse) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
Invoked once the HTTP response has been fully read.
onContentWriteCompleted() - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked when the content (a File, String or FileInputStream has been fully written on the I/O socket.
onContentWriteCompleted() - Method in interface com.ning.http.client.ProgressAsyncHandler
Invoked when the content (a File, String or FileInputStream has been fully written on the I/O socket.
onContentWriteProgress(long, long, long) - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked when the I/O operation associated with the Request body as been progressed.
onContentWriteProgress(long, long, long) - Method in interface com.ning.http.client.ProgressAsyncHandler
Invoked when the I/O operation associated with the Request body wasn't fully written in a single I/O write operation.
onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked as soon as the HTTP headers has been received.
onHeadersReceived(HttpResponseHeaders) - Method in interface com.ning.http.client.AsyncHandler
Invoked as soon as the HTTP headers has been received.
onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
Invoked as soon as the HTTP headers has been received.
onHeaderWriteCompleted() - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked when the content (a File, String or FileInputStream has been fully written on the I/O socket.
onHeaderWriteCompleted() - Method in interface com.ning.http.client.ProgressAsyncHandler
Invoked when the content (a File, String or FileInputStream has been fully written on the I/O socket.
onStatusReceived(HttpResponseStatus) - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked as soon as the HTTP status line has been received
onStatusReceived(HttpResponseStatus) - Method in interface com.ning.http.client.AsyncHandler
Invoked as soon as the HTTP status line has been received
onStatusReceived(HttpResponseStatus) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
Invoked as soon as the HTTP status line has been received
onThrowable(Throwable) - Method in class com.ning.http.client.AsyncCompletionHandler
Invoked when an unexpected exception occurs during the processing of the response
onThrowable(Throwable) - Method in class com.ning.http.client.AsyncCompletionHandlerBase
 
onThrowable(Throwable) - Method in interface com.ning.http.client.AsyncHandler
Invoked when an unexpected exception occurs during the processing of the response
onThrowable(Throwable) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
Invoked when an unexpected exception occurs during the processing of the response

P

parseWWWAuthenticateHeader(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
Part - Interface in com.ning.http.client
Interface for the parts in a multipart request.
Part - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
Part() - Constructor for class com.ning.http.multipart.Part
 
PartBase - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
PartBase(String, String, String, String) - Constructor for class com.ning.http.multipart.PartBase
Constructor.
parts - Variable in class com.ning.http.multipart.MultipartRequestEntity
The MIME parts as set by the constructor
PartSource - Interface in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
PerRequestConfig - Class in com.ning.http.client
Per request configuration.
PerRequestConfig() - Constructor for class com.ning.http.client.PerRequestConfig
 
PerRequestConfig(ProxyServer, int) - Constructor for class com.ning.http.client.PerRequestConfig
 
prepareConnect(String) - Method in class com.ning.http.client.AsyncHttpClient
Prepare an HTTP client CONNECT request.
prepareDelete(String) - Method in class com.ning.http.client.AsyncHttpClient
Prepare an HTTP client DELETE request.
prepareGet(String) - Method in class com.ning.http.client.AsyncHttpClient
Prepare an HTTP client GET request.
prepareHead(String) - Method in class com.ning.http.client.AsyncHttpClient
Prepare an HTTP client HEAD request.
prepareOptions(String) - Method in class com.ning.http.client.AsyncHttpClient
Prepare an HTTP client OPTIONS request.
preparePost(String) - Method in class com.ning.http.client.AsyncHttpClient
Prepare an HTTP client POST request.
preparePut(String) - Method in class com.ning.http.client.AsyncHttpClient
Prepare an HTTP client PUT request.
prepareRequest(Request) - Method in class com.ning.http.client.AsyncHttpClient
Construct a AsyncHttpClient.BoundRequestBuilder using a Request
prepareResponse(HttpResponseStatus, HttpResponseHeaders, Collection<HttpResponseBodyPart>) - Method in interface com.ning.http.client.AsyncHttpProvider
Prepare a Response
prepareResponse(HttpResponseStatus, HttpResponseHeaders, Collection<HttpResponseBodyPart>) - Method in class com.ning.http.client.providers.jdk.JDKAsyncHttpProvider
 
prepareResponse(HttpResponseStatus, HttpResponseHeaders, Collection<HttpResponseBodyPart>) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
ProgressAsyncHandler<T> - Interface in com.ning.http.client
An extended AsyncHandler with two extra callback who get invoked during the content upload to a remote server.
propertiesSet() - Method in interface com.ning.http.client.AsyncHttpProviderConfig
Return the curent entry set.
propertiesSet() - Method in class com.ning.http.client.providers.jdk.JDKAsyncHttpProviderConfig
 
propertiesSet() - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Return the curent entry set.
provider - Variable in class com.ning.http.client.HttpContent
 
provider() - Method in class com.ning.http.client.HttpContent
 
provider() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
ProxyServer - Class in com.ning.http.client
Represents a proxy server.
ProxyServer(ProxyServer.Protocol, String, int, String, String) - Constructor for class com.ning.http.client.ProxyServer
 
ProxyServer(String, int, String, String) - Constructor for class com.ning.http.client.ProxyServer
 
ProxyServer(ProxyServer.Protocol, String, int) - Constructor for class com.ning.http.client.ProxyServer
 
ProxyServer(String, int) - Constructor for class com.ning.http.client.ProxyServer
 
ProxyServer.Protocol - Enum in com.ning.http.client
 
put(String, List<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
put(String, List<String>) - Method in class com.ning.http.client.FluentStringsMap
putAll(Map<? extends String, ? extends List<String>>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
putAll(Map<? extends String, ? extends List<String>>) - Method in class com.ning.http.client.FluentStringsMap

Q

QUOTE - Static variable in class com.ning.http.multipart.Part
Content dispostion characters

R

random - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
To generate Nonce, need some (pseudo)randomness; no need for secure variant here.
RandomAccessBody - Interface in com.ning.http.client
A request body which supports random access to its contents.
read(ByteBuffer) - Method in interface com.ning.http.client.Body
Reads the next chunk of bytes from the body.
read(ByteBuffer) - Method in class com.ning.http.client.FileBodyGenerator.FileBody
 
readFully(InputStream, int[]) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
 
Realm - Class in com.ning.http.client
This class is required when authentication is needed.
Realm.AuthScheme - Enum in com.ning.http.client
 
Realm.RealmBuilder - Class in com.ning.http.client
A builder for Realm
Realm.RealmBuilder() - Constructor for class com.ning.http.client.Realm.RealmBuilder
 
reaper() - Method in class com.ning.http.client.AsyncHttpClientConfig
A ScheduledExecutorService used to expire idle connections.
remotelyClosed(Channel, NettyResponseFuture<?>) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
remove(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
remove(Object) - Method in class com.ning.http.client.FluentStringsMap
removeAllConnections(V) - Method in interface com.ning.http.client.ConnectionsPool
Remove all connections from the cache.
removeAllConnections(Channel) - Method in class com.ning.http.client.providers.netty.NettyConnectionsPool
Remove all connections from the cache.
removeAsyncFilter(AsyncFilter) - Method in class com.ning.http.client.AsyncHttpClient
Remove an AsyncFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
removeConnection(U) - Method in interface com.ning.http.client.ConnectionsPool
Remove the connection associated with the uri.
removeConnection(String) - Method in class com.ning.http.client.providers.netty.NettyConnectionsPool
Remove the connection associated with the uri.
removeProperty(U) - Method in interface com.ning.http.client.AsyncHttpProviderConfig
Remove the value associated with the property's name
removeProperty(String) - Method in class com.ning.http.client.providers.jdk.JDKAsyncHttpProviderConfig
 
removeProperty(String) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Remove the value associated with the property's name
replace(String, String...) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Replaces the values for the given key with the given values.
replace(String, Collection<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Replaces the values for the given key with the given values.
replace(String, String...) - Method in class com.ning.http.client.FluentStringsMap
Replaces the values for the given key with the given values.
replace(String, Collection<String>) - Method in class com.ning.http.client.FluentStringsMap
Replaces the values for the given key with the given values.
replaceAll(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
replaceAll(Map<? extends String, ? extends Collection<String>>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
replaceAll(FluentStringsMap) - Method in class com.ning.http.client.FluentStringsMap
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
replaceAll(Map<? extends String, ? extends Collection<String>>) - Method in class com.ning.http.client.FluentStringsMap
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
Request - Interface in com.ning.http.client
The Request class can be used to construct HTTP request: Request r = new RequestBuilder().setUrl("url) .setRealm((new Realm.RealmBuilder()).setPrincipal(user) .setPassword(admin) .setRealmName("MyRealm") .setScheme(Realm.AuthScheme.DIGEST).build()); r.execute();
request - Variable in class com.ning.http.client.RequestBuilderBase
 
Request.EntityWriter - Interface in com.ning.http.client
An entity that can be used to manipulate the Request's body output before it get sent.
requestBuilder(String, String) - Method in class com.ning.http.client.AsyncHttpClient
 
requestBuilder(Request) - Method in class com.ning.http.client.AsyncHttpClient
 
RequestBuilder - Class in com.ning.http.client
Builder for a Request.
RequestBuilder(String) - Constructor for class com.ning.http.client.RequestBuilder
 
RequestBuilder(Request) - Constructor for class com.ning.http.client.RequestBuilder
 
RequestBuilderBase<T extends RequestBuilderBase<T>> - Class in com.ning.http.client
Builder for Request
RequestBuilderBase(Class<T>, String) - Constructor for class com.ning.http.client.RequestBuilderBase
 
RequestBuilderBase(Class<T>, Request) - Constructor for class com.ning.http.client.RequestBuilderBase
 
RequestEntity - Interface in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
requestTimeout(AsyncHttpClientConfig, PerRequestConfig) - Static method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
RequestToken - Class in com.ning.http.client.oauth
Value class used for OAuth tokens (request secret, access secret); simple container with two parts, public id part ("key") and confidential ("secret") part.
RequestToken(String, String) - Constructor for class com.ning.http.client.oauth.RequestToken
 
Response - Interface in com.ning.http.client
Represents the asynchronous HTTP response callback for an AsyncCompletionHandler
Response.ResponseBuilder - Class in com.ning.http.client
 
Response.ResponseBuilder() - Constructor for class com.ning.http.client.Response.ResponseBuilder
 
ResponseBodyPart - Class in com.ning.http.client.providers.jdk
A callback class used when an HTTP response body is received.
ResponseBodyPart(URI, byte[], AsyncHttpProvider<HttpURLConnection>) - Constructor for class com.ning.http.client.providers.jdk.ResponseBodyPart
 
ResponseBodyPart - Class in com.ning.http.client.providers.netty
A callback class used when an HTTP response body is received.
ResponseBodyPart(URI, HttpResponse, AsyncHttpProvider<HttpResponse>) - Constructor for class com.ning.http.client.providers.netty.ResponseBodyPart
 
ResponseBodyPart(URI, HttpResponse, AsyncHttpProvider<HttpResponse>, HttpChunk) - Constructor for class com.ning.http.client.providers.netty.ResponseBodyPart
 
ResponseHeaders - Class in com.ning.http.client.providers.jdk
A class that represent the HTTP headers.
ResponseHeaders(URI, HttpURLConnection, AsyncHttpProvider<HttpURLConnection>) - Constructor for class com.ning.http.client.providers.jdk.ResponseHeaders
 
ResponseHeaders - Class in com.ning.http.client.providers.netty
A class that represent the HTTP headers.
ResponseHeaders(URI, HttpResponse, AsyncHttpProvider<HttpResponse>) - Constructor for class com.ning.http.client.providers.netty.ResponseHeaders
 
ResponseHeaders(URI, HttpResponse, AsyncHttpProvider<HttpResponse>, HttpChunkTrailer) - Constructor for class com.ning.http.client.providers.netty.ResponseHeaders
 
ResponseStatus - Class in com.ning.http.client.providers.jdk
A class that represent the HTTP response' status line (code + text)
ResponseStatus(URI, HttpURLConnection, AsyncHttpProvider<HttpURLConnection>) - Constructor for class com.ning.http.client.providers.jdk.ResponseStatus
 
ResponseStatus - Class in com.ning.http.client.providers.netty
A class that represent the HTTP response' status line (code + text)
ResponseStatus(URI, HttpResponse, AsyncHttpProvider<HttpResponse>) - Constructor for class com.ning.http.client.providers.netty.ResponseStatus
 

S

send(OutputStream) - Method in class com.ning.http.multipart.Part
Write all the data to the output stream.
sendContentTypeHeader(OutputStream) - Method in class com.ning.http.multipart.Part
Write the content type header to the specified output stream
sendData(OutputStream) - Method in class com.ning.http.multipart.FilePart
Write the data in "source" to the specified stream.
sendData(OutputStream) - Method in class com.ning.http.multipart.Part
Write the data to the specified output stream
sendData(OutputStream) - Method in class com.ning.http.multipart.StringPart
Writes the data to the given OutputStream.
sendDispositionHeader(OutputStream) - Method in class com.ning.http.multipart.FilePart
Write the disposition header to the output stream
sendDispositionHeader(OutputStream) - Method in class com.ning.http.multipart.Part
Write the content disposition header to the specified output stream
sendEnd(OutputStream) - Method in class com.ning.http.multipart.Part
Write the end data to the output stream.
sendEndOfHeader(OutputStream) - Method in class com.ning.http.multipart.Part
Write the end of the header to the output stream
sendParts(OutputStream, Part[]) - Static method in class com.ning.http.multipart.Part
Write all parts and the last boundary to the specified output stream.
sendParts(OutputStream, Part[], byte[]) - Static method in class com.ning.http.multipart.Part
Write all parts and the last boundary to the specified output stream.
sendStart(OutputStream) - Method in class com.ning.http.multipart.Part
Write the start to the specified output stream
sendTransferEncodingHeader(OutputStream) - Method in class com.ning.http.multipart.Part
Write the content transfer encoding header to the specified output stream
setAlgorithm(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setAsyncHttpClientProviderConfig(AsyncHttpProviderConfig<?, ?>) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the AsyncHttpProviderConfig
setBody(byte[]) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setBody(Request.EntityWriter, long) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setBody(Request.EntityWriter) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setBody(InputStream) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setBody(String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setBody(byte[]) - Method in class com.ning.http.client.RequestBuilder
 
setBody(Request.EntityWriter, long) - Method in class com.ning.http.client.RequestBuilder
 
setBody(Request.EntityWriter) - Method in class com.ning.http.client.RequestBuilder
 
setBody(InputStream) - Method in class com.ning.http.client.RequestBuilder
 
setBody(String) - Method in class com.ning.http.client.RequestBuilder
 
setBody(File) - Method in class com.ning.http.client.RequestBuilderBase
 
setBody(byte[]) - Method in class com.ning.http.client.RequestBuilderBase
 
setBody(String) - Method in class com.ning.http.client.RequestBuilderBase
 
setBody(InputStream) - Method in class com.ning.http.client.RequestBuilderBase
 
setBody(Request.EntityWriter) - Method in class com.ning.http.client.RequestBuilderBase
 
setBody(Request.EntityWriter, long) - Method in class com.ning.http.client.RequestBuilderBase
 
setBody(BodyGenerator) - Method in class com.ning.http.client.RequestBuilderBase
 
setCharSet(String) - Method in class com.ning.http.multipart.PartBase
Sets the character encoding.
setCharSet(String) - Method in class com.ning.http.multipart.StringPart
 
setCompressionEnabled(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Enable HTTP compression.
setConnectionsPool(ConnectionsPool<?, ?>) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the AsyncHttpProviderConfig
setConnectionTimeoutInMs(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum time in millisecond an AsyncHttpClient can wait when connecting to a remote host
setContentType(String) - Method in class com.ning.http.multipart.PartBase
Sets the content type.
setDomain(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setEncoding(String) - Method in class com.ning.http.client.ProxyServer
 
setEnconding(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setExecutorService(ExecutorService) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the ExecutorService an AsyncHttpClient use for handling asynchronous response.
setFollowRedirects(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set to true to enable HTTP redirect
setFollowRedirects(boolean) - Method in class com.ning.http.client.RequestBuilder
 
setFollowRedirects(boolean) - Method in class com.ning.http.client.RequestBuilderBase
 
setHeader(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setHeader(String, String) - Method in class com.ning.http.client.RequestBuilder
 
setHeader(String, String) - Method in class com.ning.http.client.RequestBuilderBase
 
setHeaders(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setHeaders(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.RequestBuilder
 
setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.RequestBuilder
 
setHeaders(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.RequestBuilderBase
 
setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.RequestBuilderBase
 
setHttpResponse(HttpResponse) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
setIdleConnectionTimeoutInMs(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum time in millisecond an AsyncHttpClient can stay idle.
setInnerFuture(Future<V>) - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
setKeepAlive(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set HTTP keep-alive value.
setKeepAlive(boolean) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
setMaximumConnectionsPerHost(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum number of connections per hosts an AsyncHttpClient can handle.
setMaximumConnectionsTotal(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum number of connections an AsyncHttpClient can handle.
setMaximumNumberOfRedirects(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum number of HTTP redirect
setMethodName(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setName(String) - Method in class com.ning.http.multipart.PartBase
Sets the part name.
setNc(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setNettyRequest(HttpRequest) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
setNonce(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setParameters(Map<String, Collection<String>>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setParameters(FluentStringsMap) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setParameters(Map<String, Collection<String>>) - Method in class com.ning.http.client.RequestBuilder
 
setParameters(FluentStringsMap) - Method in class com.ning.http.client.RequestBuilder
 
setParameters(FluentStringsMap) - Method in class com.ning.http.client.RequestBuilderBase
 
setParameters(Map<String, Collection<String>>) - Method in class com.ning.http.client.RequestBuilderBase
 
setPassword(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setPerRequestConfig(PerRequestConfig) - Method in class com.ning.http.client.RequestBuilderBase
 
setPorts(int...) - Method in class com.ning.http.client.Cookie
 
setPorts(Iterable<Integer>) - Method in class com.ning.http.client.Cookie
 
setPrincipal(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setProvider(LoggerProvider) - Static method in class com.ning.http.client.logging.LogManager
 
setProxyServer(ProxyServer) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set an instance of ProxyServer used by an AsyncHttpClient
setProxyServer(ProxyServer) - Method in class com.ning.http.client.RequestBuilder
 
setProxyServer(ProxyServer) - Method in class com.ning.http.client.RequestBuilderBase
 
setQop(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setRealm(Realm) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the Realm that will be used for all requests.
setRealm(Realm) - Method in class com.ning.http.client.RequestBuilderBase
 
setRealmName(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setReaperFuture(Future<?>) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
setRequestTimeoutInMs(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum time in millisecond an AsyncHttpClient wait for a response
setRequestTimeoutInMs(int) - Method in class com.ning.http.client.PerRequestConfig
 
setResponse(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setScheduledExecutorService(ScheduledExecutorService) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set theScheduledExecutorService used to expire idle connections.
setScheme(Realm.AuthScheme) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setSignatureCalculator(SignatureCalculator) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setSignatureCalculator(SignatureCalculator) - Method in class com.ning.http.client.AsyncHttpClient
Set default signature calculator to use for requests build by this client instance
setSSLContext(SSLContext) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the SSLContext for secure connection.
setSSLEngineFactory(SSLEngineFactory) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the SSLEngineFactory for secure connection.
setState(NettyResponseFuture.STATE) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
setTransferEncoding(String) - Method in class com.ning.http.multipart.PartBase
Sets the transfer encoding.
setURI(URI) - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
setUri(String) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setUrl(String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setUrl(String) - Method in class com.ning.http.client.RequestBuilder
 
setUrl(String) - Method in class com.ning.http.client.RequestBuilderBase
 
setUsePreemptiveAuth(boolean) - Method in class com.ning.http.client.Realm.RealmBuilder
 
setUserAgent(String) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the USER_AGENT header value
setVirtualHost(String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setVirtualHost(String) - Method in class com.ning.http.client.RequestBuilder
 
setVirtualHost(String) - Method in class com.ning.http.client.RequestBuilderBase
 
signatureCalculator - Variable in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
Calculator used for calculating request signature for the request being built, if any.
signatureCalculator - Variable in class com.ning.http.client.AsyncHttpClient
Default signature calculator to use for all requests constructed by this client instance.
SignatureCalculator - Interface in com.ning.http.client
Interface that allows injecting signature calculator into RequestBuilder so that signature calculation and inclusion can be added as a pluggable component.
size() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
size() - Method in class com.ning.http.client.FluentStringsMap
Slf4jLogger - Class in com.ning.http.client.logging
 
Slf4jLoggerProvider - Class in com.ning.http.client.logging
 
Slf4jLoggerProvider() - Constructor for class com.ning.http.client.logging.Slf4jLoggerProvider
 
SSLEngineFactory - Interface in com.ning.http.client
Factory that creates an SSLEngine to be used for a single SSL connection.
SslUtils - Class in com.ning.http.util
This class is a copy of http://github.com/sonatype/wagon-ning/raw/master/src/main/java/org/apache/maven/wagon/providers/http/SslUtils.java
SslUtils() - Constructor for class com.ning.http.util.SslUtils
 
StringPart - Class in com.ning.http.client
A string multipart part.
StringPart(String, String) - Constructor for class com.ning.http.client.StringPart
 
StringPart - Class in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
StringPart(String, String, String) - Constructor for class com.ning.http.multipart.StringPart
Constructor.
StringPart(String, String) - Constructor for class com.ning.http.multipart.StringPart
Constructor.

T

ThreadSafeHMAC - Class in com.ning.http.client.oauth
Since cloning (of MAC instances) is not necessarily supported on all platforms (and specifically seems to fail on MacOS), let's wrap synchronization/reuse details here.
ThreadSafeHMAC(ConsumerKey, RequestToken) - Constructor for class com.ning.http.client.oauth.ThreadSafeHMAC
 
ThrottleRequestAsyncFilter - Class in com.ning.http.client.filter
This AsyncFilter throttles requests and block when the number of permits is reached, waiting for the response to arrives before executing the next request.
ThrottleRequestAsyncFilter(int) - Constructor for class com.ning.http.client.filter.ThrottleRequestAsyncFilter
 
ThrottleRequestAsyncFilter(int, int) - Constructor for class com.ning.http.client.filter.ThrottleRequestAsyncFilter
 
toString() - Method in class com.ning.http.client.Cookie
 
toString() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
 
toString() - Method in class com.ning.http.client.FluentStringsMap
 
toString() - Method in class com.ning.http.client.oauth.ConsumerKey
 
toString() - Method in class com.ning.http.client.oauth.RequestToken
 
toString() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
toString() - Method in enum com.ning.http.client.ProxyServer.Protocol
 
toString() - Method in class com.ning.http.client.ProxyServer
 
toString() - Method in class com.ning.http.client.Realm
 
toString() - Method in interface com.ning.http.client.Response
Subclasses SHOULD implement toString() in a way that identifies the request for logging.
toString() - Method in class com.ning.http.multipart.Part
Return a string representation of this object.
touch() - Method in class com.ning.http.client.providers.jdk.JDKFuture
 
touch() - Method in class com.ning.http.client.providers.netty.NettyResponseFuture
 
toUTF8(String) - Static method in class com.ning.http.util.UTF8Codec
 
transferTo(long, long, WritableByteChannel) - Method in class com.ning.http.client.FileBodyGenerator.FileBody
 
transferTo(long, long, WritableByteChannel) - Method in interface com.ning.http.client.RandomAccessBody
Transfers the specified chunk of bytes from this body to the specified channel.

U

uri - Variable in class com.ning.http.client.HttpContent
 
USE_BLOCKING_IO - Static variable in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Use Netty's blocking IO stategy.
USE_DIRECT_BYTEBUFFER - Static variable in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
Use direct ByteBuffer
userAuth - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
 
UTF8Codec - Class in com.ning.http.util
Wrapper class for more convenient (and possibly more efficient in future) UTF-8 encoding and decoding.
UTF8Codec() - Constructor for class com.ning.http.util.UTF8Codec
 
UTF8UrlEncoder - Class in com.ning.http.util
Convenience class that encapsulates details of "percent encoding" (as per RFC-3986, see [http://www.ietf.org/rfc/rfc3986.txt]).

V

valueOf(String) - Static method in enum com.ning.http.client.AsyncHandler.STATE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.ning.http.client.ProxyServer.Protocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.ning.http.client.Realm.AuthScheme
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.ning.http.client.AsyncHandler.STATE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
values() - Method in class com.ning.http.client.FluentStringsMap
values() - Static method in enum com.ning.http.client.ProxyServer.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.ning.http.client.Realm.AuthScheme
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
warn(Throwable) - Method in class com.ning.http.client.logging.JulLogger
 
warn(Throwable, String, Object...) - Method in class com.ning.http.client.logging.JulLogger
 
warn(String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
warn(Throwable) - Method in class com.ning.http.client.logging.Log4jLogger
 
warn(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Log4jLogger
 
warn(String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
warn(Throwable) - Method in interface com.ning.http.client.logging.Logger
 
warn(Throwable, String, Object...) - Method in interface com.ning.http.client.logging.Logger
 
warn(String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
warn(Throwable) - Method in class com.ning.http.client.logging.Slf4jLogger
 
warn(Throwable, String, Object...) - Method in class com.ning.http.client.logging.Slf4jLogger
 
WebDavCompletionHandlerBase<T> - Class in com.ning.http.client.webdav
Simple AsyncHandler that add support for WebDav's response manipulation.
WebDavCompletionHandlerBase() - Constructor for class com.ning.http.client.webdav.WebDavCompletionHandlerBase
 
WebDavResponse - Class in com.ning.http.client.webdav
Customized Response which add support for getting the response's body as an XML document (@link WebDavResponse#getBodyAsXML}
WebDavResponse(Response, Document) - Constructor for class com.ning.http.client.webdav.WebDavResponse
 
writeEntity(OutputStream) - Method in interface com.ning.http.client.Request.EntityWriter
 
writeRequest(Channel, AsyncHttpClientConfig, NettyResponseFuture<T>, HttpRequest) - Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
 
writeRequest(OutputStream) - Method in class com.ning.http.multipart.MultipartRequestEntity
 
writeRequest(OutputStream) - Method in interface com.ning.http.multipart.RequestEntity
Writes the request entity to the given stream.
writeTo(OutputStream) - Method in class com.ning.http.client.HttpResponseBodyPart
Write the available bytes to the OutputStream
writeTo(OutputStream) - Method in class com.ning.http.client.providers.jdk.ResponseBodyPart
 
writeTo(OutputStream) - Method in class com.ning.http.client.providers.netty.ResponseBodyPart
 

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

Copyright © 2010. All Rights Reserved.