Class Index

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

A

AbstractListenableFuture<V>

An abstract base implementation of the listener support provided by ListenableFuture

AllowAllHostnameVerifier  
ApacheAsyncHttpProvider An AsyncHttpProvider for Apache Http Client 3.1  
ApacheAsyncHttpProvider.ApacheClientRunnable<T>  
ApacheAsyncHttpProvider.EntityWriterRequestEntity  
ApacheAsyncHttpProviderConfig  
ApacheResponse  
ApacheResponseBodyPart A callback class used when an HTTP response body is received. 
ApacheResponseFuture<V>  
ApacheResponseHeaders A class that represent the HTTP headers. 
ApacheResponseStatus A class that represent the HTTP response' status line (code + text)  
AppendableBodyConsumer An Appendable customer for ByteBuffer  
AsyncCompletionHandler<T> An AsyncHandler augmented with an onCompleted(Response) convenience method which gets called when the Response processing is finished. 
AsyncCompletionHandlerBase Simple AsyncHandler of type Response  
AsyncHandler<T> An asynchronous handler or callback which gets invoked as soon as some data is available when processing an asynchronous response. 
AsyncHandler.STATE  
AsyncHttpClient This class support asynchronous and synchronous HTTP request. 
AsyncHttpClient.BoundRequestBuilder  
AsyncHttpClientConfig Configuration class to use with a AsyncHttpClient
AsyncHttpClientConfig.Builder Builder for an AsyncHttpClient  
AsyncHttpClientConfigBean Simple JavaBean version of AsyncHttpClientConfig  
AsyncHttpProvider Interface to be used when implementing custom asynchronous I/O HTTP client. 
AsyncHttpProviderConfig<U, V> AsyncHttpProvider proprietary configurable properties. 
AsyncHttpProviderUtils AsyncHttpProvider common utilities. 
AuthenticatorUtils  

B

Base64 Implements the "base64" binary encoding scheme as defined by RFC 2045
Body A request body. 
BodyConsumer A simple API to be used with the SimpleAsyncHttpClient class in order to process response's bytes. 
BodyDeferringAsyncHandler An AsyncHandler that returns Response (without body, so status code and headers only) as fast as possible for inspection, but leaves you the option to defer body consumption. 
BodyDeferringAsyncHandler.BodyDeferringInputStream A simple helper class that is used to perform automatic "join" for async download and the error checking of the Future of the request. 
BodyGenerator Creates a request body. 
ByteArrayBodyGenerator A BodyGenerator backed by a byte array. 
ByteArrayBodyGenerator.ByteBody  
ByteArrayPart  
ByteArrayPartSource This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
ByteBufferBodyConsumer A ByteBuffer implementation of BodyConsumer  

C

CleanupChannelGroup Extension of DefaultChannelGroup that's used mainly as a cleanup container, where close() is only supposed to be called once. 
ConnectionsPool<U, V> An interface used by an AsyncHttpProvider for caching http connections. 
ConsumerKey Value class for OAuth consumer keys. 
Cookie  

D

DateUtil A utility class for parsing and formatting HTTP dates as used in cookies and other headers. 
DateUtil.DateParseException  
DefaultWebSocketListener Default WebSocketListener implementation. 

E

ExecutionList

A list of (Runnable, Executor) pairs that guarantees that every Runnable that is added using the add method will be executed in its associated Executor after run() is called. 

F

FeedableBodyGenerator BodyGenerator which may return just part of the payload at the time handler is requesting it. 
FileBodyConsumer A RandomAccessFile that can be used as a ResumableBodyConsumer  
FileBodyGenerator Creates a request body from the contents of a file. 
FileBodyGenerator.FileBody  
FilePart A file multipart part. 
FilePart This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
FilePartSource This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
FilePartStallHandler  
FileUploadStalledException  
FilterContext<T> A FilterContext can be used to decorate Request and AsyncHandler from a list of RequestFilter
FilterContext.FilterContextBuilder<T>  
FilterException An exception that can be thrown by an AsyncHandler to interrupt invocation of the RequestFilter and ResponseFilter
FluentCaseInsensitiveStringsMap An implementation of a String -> List<String> map that adds a fluent interface, i.e. 
FluentStringsMap An implementation of a String -> List<String> map that adds a fluent interface, i.e. 

G

GrizzlyAsyncHttpProvider A Grizzly 2.0-based implementation of AsyncHttpProvider
GrizzlyAsyncHttpProviderConfig AsyncHttpProviderConfig implementation that allows customization of the Grizzly runtime outside of the scope of what the AsyncHttpClientConfig offers. 
GrizzlyAsyncHttpProviderConfig.Property Grizzly-specific customization properties. 
GrizzlyConnectionsPool ConnectionsPool implementation. 
GrizzlyResponse HttpResponseBodyPart implementation using the Grizzly 2.0 HTTP client codec. 
GrizzlyResponseBodyPart HttpResponseBodyPart implementation using the Grizzly 2.0 HTTP client codec. 
GrizzlyResponseFuture<V> AbstractListenableFuture implementation adaptation of Grizzly's FutureImpl. 
GrizzlyResponseHeaders HttpResponseHeaders implementation using the Grizzly 2.0 HTTP client codec. 
GrizzlyResponseStatus HttpResponseStatus implementation using the Grizzly 2.0 HTTP client codec. 

H

HeaderMap A map containing headers with the sole purpose of being given to onHeaders(String, HeaderMap)
HttpContent Base class for callback class used by AsyncHandler  
HttpResponseBodyPart A callback class used when an HTTP response body is received. 
HttpResponseHeaders A class that represent the HTTP headers. 
HttpResponseStatus A class that represent the HTTP response' status line (code + text)  

I

InputStreamBodyGenerator A BodyGenerator which use an InputStream for reading bytes, without having to read the entire stream in memory. 
InputStreamBodyGenerator.ISBody  
IOExceptionFilter This filter is invoked when an java.io.IOException occurs during an http transaction. 

J

JDKAsyncHttpProvider  
JDKAsyncHttpProviderConfig  
JDKDelegateFuture<V>  
JDKFuture<V>  
JDKResponse  

L

ListenableFuture<V> Extended Future 

M

MaxRedirectException Thrown when the getMaxRedirects() has been reached. 
MultipartBody  
MultipartEncodingUtil This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
MultipartRequestEntity This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 

N

NettyAsyncHttpProvider  
NettyAsyncHttpProvider.OptimizedFileRegion  
NettyAsyncHttpProvider.ThreadLocalBoolean  
NettyAsyncHttpProviderConfig This class can be used to pass Netty's internal configuration options. 
NettyConnectionsPool A simple implementation of ConnectionsPool based on a java.util.concurrent.ConcurrentHashMap  
NettyResponse Wrapper around the Response API. 
NettyResponseFuture<V> A Future that can be used to track when an asynchronous HTTP request has been fully processed. 
NettyWebSocket  
NTLMEngine Provides an implementation for NTLMv1, NTLMv2, and NTLM2 Session forms of the NTLM authentication protocol. 
NTLMEngineException Signals NTLM protocol failure. 

O

OAuthSignatureCalculator Simple OAuth signature calculator that can used for constructing client signatures for accessing services that use OAuth for authorization. 
OutputStreamBodyConsumer A simple OutputStream implementation for BodyConsumer  

P

Part Interface for the parts in a multipart request. 
Part This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
PartBase This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
PartSource This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
PerRequestConfig This class is deprecated. Per request properties are set on request directly or via builder. This class will be gone in next major release.  
ProgressAsyncHandler<T> An extended AsyncHandler with two extra callback who get invoked during the content upload to a remote server. 
PropertiesBasedResumableProcessor A ResumableAsyncHandler.ResumableProcessor which use a properties file to store the download index information. 
Protocol  
ProxyServer Represents a proxy server. 
ProxyServer.Protocol  
ProxyUtils Utilities for Proxy handling. 

R

RandomAccessBody A request body which supports random access to its contents. 
Realm This class is required when authentication is needed. 
Realm.AuthScheme  
Realm.RealmBuilder A builder for Realm  
Request 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.EntityWriter An entity that can be used to manipulate the Request's body output before it get sent. 
RequestBuilder Builder for a Request
RequestBuilderBase<T extends RequestBuilderBase<T>> Builder for Request 
RequestEntity This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 
RequestFilter A Filter interface that gets invoked before making an actual request. 
RequestToken Value class used for OAuth tokens (request secret, access secret); simple container with two parts, public id part ("key") and confidential ("secret") part. 
Response Represents the asynchronous HTTP response callback for an AsyncCompletionHandler  
Response.ResponseBuilder  
ResponseBodyPart A callback class used when an HTTP response body is received. 
ResponseBodyPart A callback class used when an HTTP response body is received. 
ResponseFilter A Filter interface that gets invoked before making the processing of the response bytes. 
ResponseHeaders A class that represent the HTTP headers. 
ResponseHeaders A class that represent the HTTP headers. 
ResponseStatus A class that represent the HTTP response' status line (code + text)  
ResponseStatus A class that represent the HTTP response' status line (code + text)  
ResumableAsyncHandler<T> An AsyncHandler which support resumable download, e.g when used with an ResumableIOExceptionFilter, this handler can resume the download operation at the point it was before the interruption occured. 
ResumableAsyncHandler.ResumableProcessor An interface to implement in order to manage the way the incomplete file management are handled. 
ResumableBodyConsumer  
ResumableIOExceptionFilter Simple IOExceptionFilter that replay the current Request using a ResumableAsyncHandler  
ResumableListener A listener class that can be used to digest the bytes from an ResumableAsyncHandler  
ResumableRandomAccessFileListener A TransferListener which use a RandomAccessFile for storing the received bytes. 

S

SignatureCalculator Interface that allows injecting signature calculator into RequestBuilder so that signature calculation and inclusion can be added as a pluggable component. 
SimpleAHCTransferListener A simple transfer listener for use with the SimpleAsyncHttpClient
SimpleAsyncHttpClient Simple implementation of AsyncHttpClient and it's related builders (AsyncHttpClientConfig, Realm, ProxyServer and AsyncHandler
SimpleAsyncHttpClient.Builder  
SimpleAsyncHttpClient.DerivedBuilder This interface contains possible configuration changes for a derived SimpleAsyncHttpClient. 
SimpleAsyncHttpClient.ErrorDocumentBehaviour  
SpnegoEngine SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication scheme. 
SpnegoTokenGenerator Abstract SPNEGO token generator. 
SSLEngineFactory Factory that creates an SSLEngine to be used for a single SSL connection. 
SslUtils 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  
StringPart A string multipart part. 
StringPart This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/ 

T

ThreadSafeHMAC 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. 
ThrottleRequestFilter A RequestFilter throttles requests and block when the number of permits is reached, waiting for the response to arrives before executing the next request. 
ThrowableHandler Simple Throwable handler to be used with SimpleAsyncHttpClient  
TransferCompletionHandler A AsyncHandler that can be used to notify a set of TransferListener

 AsyncHttpClient client = new AsyncHttpClient();
 TransferCompletionHandler tl = new TransferCompletionHandler();
 tl.addTransferListener(new TransferListener() {
 

public void onRequestHeadersSent(FluentCaseInsensitiveStringsMap headers) { }

public void onResponseHeadersReceived(FluentCaseInsensitiveStringsMap headers) { }

public void onBytesReceived(ByteBuffer buffer) { }

public void onBytesSent(ByteBuffer buffer) { }

public void onRequestResponseCompleted() { }

public void onThrowable(Throwable t) { } });

Response response = httpClient.prepareGet("http://...").execute(tl).get();

 
TransferCompletionHandler.TransferAdapter  
TransferListener A simple interface an application can implements in order to received byte transfer information. 
TransportCustomizer This class may be provided as an option to the GrizzlyAsyncHttpProviderConfig and allows low-level customization of the TCPNIOTransport beyond the defaults typically used. 

U

UpgradeHandler<T> Invoked when an UPGRADE is returned. 
UTF8Codec Wrapper class for more convenient (and possibly more efficient in future) UTF-8 encoding and decoding. 
UTF8UrlEncoder Convenience class that encapsulates details of "percent encoding" (as per RFC-3986, see [http://www.ietf.org/rfc/rfc3986.txt]). 

W

WebDavCompletionHandlerBase<T> Simple AsyncHandler that add support for WebDav's response manipulation. 
WebDavResponse Customized Response which add support for getting the response's body as an XML document (@link WebDavResponse#getBodyAsXML}  
WebSocket A Websocket client  
WebSocketByteListener A WebSocketListener for bytes  
WebSocketListener A generic WebSocketListener for WebSocket events. 
WebSocketPingListener A WebSocket's Ping Listener  
WebSocketPongListener A WebSocket's Pong Listener  
WebSocketTextListener A WebSocketListener for text message  
WebSocketUpgradeHandler An AsyncHandler which is able to execute WebSocket upgrade. 
WebSocketUpgradeHandler.Builder Build a WebSocketUpgradeHandler  
WebSocketUtil