A B C D E F G H I 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.NettyResponseFuture
 
add(String, String...) - Method in class com.ning.http.client.Headers
Adds the specified header and returns this headers object.
add(String, Collection<String>) - Method in class com.ning.http.client.Headers
Adds the specified header values and returns this headers object.
addAll(Headers) - Method in class com.ning.http.client.Headers
Adds all headers from the given headers object to this object and returns this headers object.
addAll(Map<String, Collection<String>>) - Method in class com.ning.http.client.Headers
Adds all headers from the given map to this object and returns this headers object.
addBodyPart(Part) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addBodyPart(Part) - Method in class com.ning.http.client.RequestBuilder
 
addCookie(Cookie) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addCookie(Cookie) - Method in class com.ning.http.client.RequestBuilder
 
addHeader(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addHeader(String, String) - Method in class com.ning.http.client.RequestBuilder
 
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.url.Url
 
addQueryParameter(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
addQueryParameter(String, String) - Method in class com.ning.http.client.RequestBuilder
 
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
AsyncCompletionHandlerBase() - Constructor for class com.ning.http.client.AsyncCompletionHandlerBase
 
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.

B

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.RequestBuilder
 
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

cancel(boolean) - Method in class com.ning.http.client.providers.NettyResponseFuture
channelClosed(ChannelHandlerContext, ChannelStateEvent) - Method in class com.ning.http.client.providers.NettyAsyncHttpProvider
 
CHARSET - Static variable in class com.ning.http.multipart.Part
Content charset
chunk() - Method in class com.ning.http.client.providers.ResponseBodyPart
 
clearParameters() - Method in class com.ning.http.url.Url
reset the parameters list.
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 class com.ning.http.client.providers.NettyAsyncHttpProvider
 
com.ning.http.client - package com.ning.http.client
 
com.ning.http.client.providers - package com.ning.http.client.providers
 
com.ning.http.multipart - package com.ning.http.multipart
 
com.ning.http.url - package com.ning.http.url
 
com.ning.http.util - package com.ning.http.util
 
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
 
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.
CRLF - Static variable in class com.ning.http.multipart.Part
Carriage return/linefeed

D

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
done() - Method in interface com.ning.http.client.FutureImpl
 
done() - Method in class com.ning.http.client.providers.NettyResponseFuture
 

E

equals(Object) - Method in class com.ning.http.client.Headers
 
equals(Object) - Method in class com.ning.http.url.Url
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - Method in class com.ning.http.client.providers.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.NettyAsyncHttpProvider
 
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
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.
finalize() - Method in class com.ning.http.client.AsyncHttpClient
 
fromProxy(Proxy) - Static method in class com.ning.http.client.ProxyServer
Convert from Java java.net.Proxy object.
FutureImpl<V> - Interface in com.ning.http.client
Extended Future

G

get() - Method in class com.ning.http.client.providers.NettyResponseFuture
get(long, TimeUnit) - Method in class com.ning.http.client.providers.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.providers.NettyResponseFuture
 
getBaseUrl() - Method in class com.ning.http.url.Url
 
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.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
 
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.
getConfig() - Method in class com.ning.http.client.AsyncHttpClient
Return the AsyncHttpClientConfig
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 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.NettyAsyncResponse
 
getContentType() - Method in interface com.ning.http.client.Response
Return the content-type header value.
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.NettyAsyncResponse
 
getCookies() - Method in interface com.ning.http.client.Request
 
getCookies() - Method in interface com.ning.http.client.Response
Return the list of Cookie.
getData() - Method in class com.ning.http.client.ByteArrayPart
 
getDomain() - Method in class com.ning.http.client.Cookie
 
getEntityWriter() - Method in interface com.ning.http.client.Request
 
getFile() - Method in class com.ning.http.client.FilePart
 
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.
getFirstHeaderValue(String) - Method in class com.ning.http.client.Headers
Returns the (first) value of the header of the given name.
getHeader(String) - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getHeader(String) - Method in interface com.ning.http.client.Response
Return the response header
getHeaderNames() - Method in class com.ning.http.client.Headers
Returns the names of all defined headers.
getHeaders() - Method in class com.ning.http.client.HttpResponseHeaders
Return the HTTP header
getHeaders(String) - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getHeaders() - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getHeaders() - Method in class com.ning.http.client.providers.ResponseHeaders
Return the HTTP header
getHeaders() - Method in interface com.ning.http.client.Request
 
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
 
getHeaderValue(String) - Method in class com.ning.http.client.Headers
Returns the value of the header of the given name.
getHeaderValues(String) - Method in class com.ning.http.client.Headers
Returns all defined values for the specified header.
getHost() - Method in class com.ning.http.client.ProxyServer
 
getHost() - Method in class com.ning.http.url.Url
 
getHttpResponse() - Method in class com.ning.http.client.providers.NettyResponseFuture
 
getIdleConnectionTimeoutInMs() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the maximum time in millisecond an AsyncHttpClient can stay idle.
getKeepAlive() - Method in class com.ning.http.client.AsyncHttpClientConfig
Is HTTP keep-alive enabled.
getKeepAlive() - Method in class com.ning.http.client.providers.NettyResponseFuture
 
getLength() - Method in interface com.ning.http.client.Request
 
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.
getLocation() - Method in class com.ning.http.url.Url
 
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.
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.
getNettyRequest() - Method in class com.ning.http.client.providers.NettyResponseFuture
 
getParameter(String) - Method in class com.ning.http.url.Url
 
getParameters(String) - Method in class com.ning.http.url.Url
 
getParameters() - Method in class com.ning.http.url.Url
 
getParams() - Method in interface com.ning.http.client.Request
 
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
 
getPath() - Method in class com.ning.http.client.Cookie
 
getPath() - Method in class com.ning.http.url.Url
Gets the path part of this url.
getPort() - Method in class com.ning.http.client.ProxyServer
 
getPort() - Method in class com.ning.http.url.Url
 
getPort() - Method in enum com.ning.http.url.Url.Protocol
 
getProtocol() - Method in class com.ning.http.client.ProxyServer
 
getProtocol() - Method in enum com.ning.http.client.ProxyServer.Protocol
 
getProtocol() - Method in class com.ning.http.url.Url
 
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.ResponseStatus
 
getProtocolMinorVersion() - Method in class com.ning.http.client.HttpResponseStatus
Protocol minor version.
getProtocolMinorVersion() - Method in class com.ning.http.client.providers.ResponseStatus
 
getProtocolName() - Method in class com.ning.http.client.HttpResponseStatus
Protocol name from status line.
getProtocolName() - Method in class com.ning.http.client.providers.ResponseStatus
 
getProtocolText() - Method in class com.ning.http.client.HttpResponseStatus
Full protocol name + version
getProtocolText() - Method in class com.ning.http.client.providers.ResponseStatus
 
getProvider() - Method in class com.ning.http.client.AsyncHttpClient
Return the asynchronouys AsyncHttpProvider
getProxyServer() - Method in class com.ning.http.client.AsyncHttpClientConfig
An instance of ProxyServer used by an AsyncHttpClient
getQueryParams() - Method in interface com.ning.http.client.Request
 
getQueryString() - Method in class com.ning.http.url.Url
 
getRequest() - Method in class com.ning.http.client.providers.NettyResponseFuture
 
getRequestTimeoutInMs() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return the maximum time in millisecond an AsyncHttpClient wait for a response
getResponseBody() - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getResponseBody() - Method in interface com.ning.http.client.Response
Return the entire response body as a String.
getResponseBodyAsStream() - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getResponseBodyAsStream() - Method in interface com.ning.http.client.Response
Returns an input stream for the response body.
getResponseBodyExcerpt(int) - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getResponseBodyExcerpt(int) - Method in interface com.ning.http.client.Response
Returns the first maxLength bytes of the response body as a string.
getScheme() - Method in class com.ning.http.url.Url
 
getSource() - Method in class com.ning.http.multipart.FilePart
Returns the source of the file part.
getSSLEngine() - Method in class com.ning.http.client.AsyncHttpClientConfig
Return an instance of SSLEngine used for SSL connection.
getSSLEngine() - Static method in class com.ning.http.util.SslUtils
 
getStatusCode() - Method in class com.ning.http.client.HttpResponseStatus
Return the response status code
getStatusCode() - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getStatusCode() - Method in class com.ning.http.client.providers.ResponseStatus
Return the response status code
getStatusCode() - Method in interface com.ning.http.client.Response
Returns the status code for the request.
getStatusText() - Method in class com.ning.http.client.HttpResponseStatus
Return the response status text
getStatusText() - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getStatusText() - Method in class com.ning.http.client.providers.ResponseStatus
Return the response status text
getStatusText() - Method in interface com.ning.http.client.Response
Returns the status text for the request.
getStreamData() - Method in interface com.ning.http.client.Request
 
getStringData() - Method in interface com.ning.http.client.Request
 
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.
getType() - Method in interface com.ning.http.client.Request
 
getUri() - Method in class com.ning.http.url.Url
 
getUrl() - Method in class com.ning.http.client.HttpContent
 
getUrl() - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
getUrl() - Method in class com.ning.http.client.providers.NettyResponseFuture
 
getUrl() - Method in interface com.ning.http.client.Request
 
getUrl() - Method in interface com.ning.http.client.Response
Return the request Url.
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
 
getVirtualHost() - Method in interface com.ning.http.client.Request
 

H

hashCode() - Method in class com.ning.http.client.Headers
 
hashCode() - Method in class com.ning.http.url.Url
 
Headers - Class in com.ning.http.client
 
Headers() - Constructor for class com.ning.http.client.Headers
 
Headers(Headers) - Constructor for class com.ning.http.client.Headers
 
Headers(Map<String, Collection<String>>) - Constructor for class com.ning.http.client.Headers
 
HttpContent - Class in com.ning.http.client
Base class for callback class used by AsyncHandler
HttpContent(Url, 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(Url, AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.HttpResponseBodyPart
 
HttpResponseHeaders - Class in com.ning.http.client
A class that represent the HTTP headers.
HttpResponseHeaders(Url, AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.HttpResponseHeaders
 
HttpResponseHeaders(Url, 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(Url, AsyncHttpProvider<?>) - Constructor for class com.ning.http.client.HttpResponseStatus
 

I

incrementAndGetCurrentRedirectCount() - Method in class com.ning.http.client.providers.NettyResponseFuture
 
isCancelled() - Method in class com.ning.http.client.providers.NettyResponseFuture
isCompressionEnabled() - Method in class com.ning.http.client.AsyncHttpClientConfig
Is HTTP compression enabled.
isDefined(String) - Method in class com.ning.http.client.Headers
Determines whether the indicated header is defined.
isDone() - Method in class com.ning.http.client.providers.NettyResponseFuture
isRedirected() - Method in class com.ning.http.client.providers.NettyAsyncResponse
 
isRedirected() - Method in interface com.ning.http.client.Response
Return true if the response redirects to another object.
isRedirectEnabled() - Method in class com.ning.http.client.AsyncHttpClientConfig
Is HTTP redirect enabled
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.
isValidUrl(String) - Static method in class com.ning.http.url.Url
Is the given Url string in a valid format?
iterator() - Method in class com.ning.http.client.Headers

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.

M

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.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[], Multimap<String, String>) - 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
 
NettyAsyncHttpProvider(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.providers.NettyAsyncHttpProvider
 
NettyAsyncResponse - Class in com.ning.http.client.providers
Wrapper around the Response API.
NettyAsyncResponse(HttpResponseStatus, HttpResponseHeaders, Collection<HttpResponseBodyPart>) - Constructor for class com.ning.http.client.providers.NettyAsyncResponse
 
NettyResponseFuture<V> - Class in com.ning.http.client.providers
A Future that can be used to track when an asynchronous HTTP request has been fully processed.
NettyResponseFuture(Url, Request, AsyncHandler<V>, HttpRequest, int) - Constructor for class com.ning.http.client.providers.NettyResponseFuture
 

O

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.
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
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.
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
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

P

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
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.NettyAsyncHttpProvider
 
provider - Variable in class com.ning.http.client.HttpContent
 
provider() - Method in class com.ning.http.client.HttpContent
 
ProxyServer - Class in com.ning.http.client
Represents a proxy server.
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
 

Q

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

R

reaper() - Method in class com.ning.http.client.AsyncHttpClientConfig
A ScheduledExecutorService used to expire idle connections.
remove(String) - Method in class com.ning.http.client.Headers
Removes the specified header if present and returns this headers object.
removeAll(String...) - Method in class com.ning.http.client.Headers
Removed all specified headers in this object and returns this headers object.
removeAll(Collection<String>) - Method in class com.ning.http.client.Headers
Removed all specified headers in this object and returns this headers object.
removeParameter(String) - Method in class com.ning.http.url.Url
 
replace(String, String...) - Method in class com.ning.http.client.Headers
Replaces the indicated header with the given values.
replace(String, Collection<String>) - Method in class com.ning.http.client.Headers
Replaces the indicated header with the given values.
replaceAll(Headers) - Method in class com.ning.http.client.Headers
Replaces all headers present the given headers object in this object and returns this headers object.
replaceAll(Map<String, Collection<String>>) - Method in class com.ning.http.client.Headers
Replaces all headers from the given map in this object and returns this headers object.
Request - Interface in com.ning.http.client
 
Request.EntityWriter - Interface in com.ning.http.client
 
RequestBuilder - Class in com.ning.http.client
Builder for a Request.
RequestBuilder(RequestType) - Constructor for class com.ning.http.client.RequestBuilder
 
RequestBuilder(Request) - Constructor for class com.ning.http.client.RequestBuilder
 
RequestEntity - Interface in com.ning.http.multipart
This class is an adaptation of the Apache HttpClient implementation
RequestType - Enum in com.ning.http.client
 
Response - Interface in com.ning.http.client
Represents the asynchronous HTTP response callback for an AsyncCompletionHandler
ResponseBodyPart - Class in com.ning.http.client.providers
A callback class used when an HTTP response body is received.
ResponseBodyPart(Url, HttpResponse, AsyncHttpProvider<HttpResponse>) - Constructor for class com.ning.http.client.providers.ResponseBodyPart
 
ResponseBodyPart(Url, HttpResponse, AsyncHttpProvider<HttpResponse>, HttpChunk) - Constructor for class com.ning.http.client.providers.ResponseBodyPart
 
ResponseHeaders - Class in com.ning.http.client.providers
A class that represent the HTTP headers.
ResponseHeaders(Url, HttpResponse, AsyncHttpProvider<HttpResponse>) - Constructor for class com.ning.http.client.providers.ResponseHeaders
 
ResponseHeaders(Url, HttpResponse, AsyncHttpProvider<HttpResponse>, HttpChunkTrailer) - Constructor for class com.ning.http.client.providers.ResponseHeaders
 
ResponseStatus - Class in com.ning.http.client.providers
A class that represent the HTTP response' status line (code + text)
ResponseStatus(Url, HttpResponse, AsyncHttpProvider<HttpResponse>) - Constructor for class com.ning.http.client.providers.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
setBaseUrl(String) - Method in class com.ning.http.url.Url
 
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
 
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.
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.
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
setHeader(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setHeader(String, String) - Method in class com.ning.http.client.RequestBuilder
 
setHeaders(Headers) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setHeaders(Headers) - Method in class com.ning.http.client.RequestBuilder
 
setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.RequestBuilder
 
setHost(String) - Method in class com.ning.http.url.Url
 
setHttpResponse(HttpResponse) - Method in class com.ning.http.client.providers.NettyResponseFuture
 
setIdleConnectionTimeoutInMs(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum time in millisecond an AsyncHttpClient can stay idle.
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.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
setName(String) - Method in class com.ning.http.multipart.PartBase
Sets the part name.
setParameter(String, String) - Method in class com.ning.http.url.Url
 
setParameter(String, Object) - Method in class com.ning.http.url.Url
 
setParameters(Map<String, String>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setParameters(Multimap<String, String>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setParameters(Map<String, String>) - Method in class com.ning.http.client.RequestBuilder
 
setParameters(Multimap<String, String>) - Method in class com.ning.http.client.RequestBuilder
 
setPath(String) - Method in class com.ning.http.url.Url
 
setPort(int) - Method in class com.ning.http.url.Url
 
setProxyServer(ProxyServer) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set an instance of ProxyServer used by an AsyncHttpClient
setQueryString(String) - Method in class com.ning.http.url.Url
 
setReaperFuture(Future<Object>) - Method in class com.ning.http.client.providers.NettyResponseFuture
 
setRequestTimeoutInMs(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the maximum time in millisecond an AsyncHttpClient wait for a response
setScheduledExecutorService(ScheduledExecutorService) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set theScheduledExecutorService used to expire idle connections.
setScheme(String) - Method in class com.ning.http.url.Url
 
setSSLEngine(SSLEngine) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
Set the SSLEngine for secure connection.
setTransferEncoding(String) - Method in class com.ning.http.multipart.PartBase
Sets the transfer encoding.
setUri(String) - Method in class com.ning.http.url.Url
 
setUrl(String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
 
setUrl(Url) - Method in class com.ning.http.client.providers.NettyResponseFuture
 
setUrl(String) - Method in class com.ning.http.client.RequestBuilder
 
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
 
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

toString() - Method in class com.ning.http.client.Cookie
 
toString() - Method in class com.ning.http.client.Headers
 
toString() - Method in enum com.ning.http.client.ProxyServer.Protocol
 
toString() - Method in class com.ning.http.client.ProxyServer
 
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.
toString() - Method in class com.ning.http.url.Url
 
toStringWithoutParams() - Method in class com.ning.http.url.Url
Return the URL string, but without any parameters

U

unmodifiableHeaders(Headers) - Static method in class com.ning.http.client.Headers
 
url - Variable in class com.ning.http.client.HttpContent
 
Url - Class in com.ning.http.url
 
Url(String, String, int, String, String) - Constructor for class com.ning.http.url.Url
 
Url.Protocol - Enum in com.ning.http.url
 

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.RequestType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.ning.http.url.Url.Protocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.ning.http.url.Url
Constructs a Url object from the given url string.
valueOf(String, String, String) - Static method in class com.ning.http.url.Url
Constructs a Url object from the given url string parts.
valueOf(Url, String) - Static method in class com.ning.http.url.Url
Resolves 'path' with respect to a given base url
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() - 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.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.ning.http.url.Url.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeEntity(OutputStream) - Method in interface com.ning.http.client.Request.EntityWriter
 
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.

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

Copyright © 2010. All Rights Reserved.