Interface | Description |
---|---|
AsyncHandler<T> |
An asynchronous handler or callback which gets invoked as soon as some data is available when
processing an asynchronous response.
|
AsyncHandlerExtensions |
This interface hosts new low level callback methods on
AsyncHandler . |
AsyncHttpProvider |
Interface to be used when implementing custom asynchronous I/O HTTP client.
|
AsyncHttpProviderConfig<U,V> |
AsyncHttpProvider proprietary configurable properties. |
Body |
A request body.
|
BodyConsumer |
A simple API to be used with the
SimpleAsyncHttpClient class in order to process response's bytes. |
BodyGenerator |
Creates a request body.
|
ConnectionPoolKeyStrategy | |
ConnectionsPool<U,V> |
An interface used by an
AsyncHttpProvider for caching http connections. |
ListenableFuture<V> |
Extended
Future |
Part |
Interface for the parts in a multipart request.
|
ProgressAsyncHandler<T> |
An extended
AsyncHandler with two extra callback who get invoked during the content upload to a remote server. |
ProxyServerSelector |
Selector for a proxy server
|
RandomAccessBody |
A request body which supports random access to its contents.
|
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.
|
Response |
Represents the asynchronous HTTP response callback for an
AsyncCompletionHandler |
ResumableBodyConsumer | |
SignatureCalculator |
Interface that allows injecting signature calculator into
RequestBuilder so that signature calculation and inclusion can
be added as a pluggable component. |
SimpleAsyncHttpClient.DerivedBuilder |
This interface contains possible configuration changes for a derived SimpleAsyncHttpClient.
|
SSLEngineFactory |
Factory that creates an
SSLEngine to be used for a single SSL connection. |
ThrowableHandler |
Simple
Throwable handler to be used with SimpleAsyncHttpClient |
UpgradeHandler<T> |
Invoked when an
AsyncHandler.STATE.UPGRADE is returned. |
Class | Description |
---|---|
AsyncCompletionHandler<T> |
An
AsyncHandler augmented with an AsyncCompletionHandler.onCompleted(Response) convenience method which gets called
when the Response processing is finished. |
AsyncCompletionHandlerBase |
Simple
AsyncHandler of type Response |
AsyncHttpClient |
This class support asynchronous and synchronous HTTP request.
|
AsyncHttpClientConfig |
Configuration class to use with a
AsyncHttpClient . |
AsyncHttpClientConfig.Builder |
Builder for an
AsyncHttpClient |
AsyncHttpClientConfigBean |
Simple JavaBean version of
AsyncHttpClientConfig |
AsyncHttpClientConfigDefaults | |
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.
|
ByteArrayPart | |
FilePart |
A file multipart part.
|
FluentCaseInsensitiveStringsMap |
An implementation of a
String -> List<String> map that adds a fluent interface, i.e. methods that
return this instance. |
FluentStringsMap |
An implementation of a
String -> List<String> map that adds a fluent interface, i.e. methods that
return this instance. |
HttpContent |
Base class for callback class used by
AsyncHandler |
HttpResponseBodyPart |
A callback class used when an HTTP response body is received.
|
HttpResponseBodyPartsInputStream |
An
InputStream that reads all the elements in an array of HttpResponseBodyPart s. |
HttpResponseHeaders |
A class that represent the HTTP headers.
|
HttpResponseStatus |
A class that represent the HTTP response' status line (code + text)
|
PerRequestConfig | Deprecated
Per request properties are set on request directly or via builder.
|
ProxyServer |
Represents a proxy server.
|
Realm |
This class is required when authentication is needed.
|
Realm.RealmBuilder |
A builder for
Realm |
RequestBuilder |
Builder for a
Request . |
RequestBuilderBase<T extends RequestBuilderBase<T>> |
Builder for
Request |
Response.ResponseBuilder | |
SimpleAsyncHttpClient |
Simple implementation of
AsyncHttpClient and it's related builders (AsyncHttpClientConfig ,
Realm , ProxyServer and AsyncHandler . |
SimpleAsyncHttpClient.Builder | |
StringPart |
A string multipart part.
|
Enum | Description |
---|---|
AsyncHandler.STATE | |
DefaultConnectionPoolStrategy | |
ProxyServer.Protocol | |
Realm.AuthScheme | |
SimpleAsyncHttpClient.ErrorDocumentBehaviour |
Exception | Description |
---|---|
MaxRedirectException |
Thrown when the
AsyncHttpClientConfig.getMaxRedirects() has been reached. |
Copyright © 2014. All Rights Reserved.