Modifier and Type | Class and Description |
---|---|
class |
AsyncHttpClientConfigBean
Simple JavaBean version of
AsyncHttpClientConfig |
Modifier and Type | Method and Description |
---|---|
AsyncHttpClientConfig |
AsyncHttpClientConfig.Builder.build()
Build an
AsyncHttpClientConfig |
AsyncHttpClientConfig |
AsyncHttpClient.getConfig()
Return the
AsyncHttpClientConfig |
Constructor and Description |
---|
AsyncHttpClient(AsyncHttpClientConfig config)
Create a new HTTP Asynchronous Client using a
AsyncHttpClientConfig configuration and the
AsyncHttpClient.DEFAULT_PROVIDER |
AsyncHttpClient(AsyncHttpProvider httpProvider,
AsyncHttpClientConfig config)
Create a new HTTP Asynchronous Client using a
AsyncHttpClientConfig configuration and
and a AsyncHttpProvider . |
AsyncHttpClient(String providerClass,
AsyncHttpClientConfig config)
Create a new HTTP Asynchronous Client using a
AsyncHttpClientConfig configuration and
and a AsyncHttpProvider class' name. |
AsyncHttpClientConfig.Builder(AsyncHttpClientConfig prototype)
Create a config builder with values taken from the given prototype configuration.
|
Modifier and Type | Method and Description |
---|---|
protected static int |
ApacheAsyncHttpProvider.requestTimeout(AsyncHttpClientConfig config,
PerRequestConfig perRequestConfig) |
Constructor and Description |
---|
ApacheAsyncHttpProvider(AsyncHttpClientConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
GrizzlyAsyncHttpProvider.initializeTransport(AsyncHttpClientConfig clientConfig) |
Constructor and Description |
---|
GrizzlyAsyncHttpProvider(AsyncHttpClientConfig clientConfig) |
GrizzlyConnectionsPool(AsyncHttpClientConfig config) |
Constructor and Description |
---|
JDKAsyncHttpProvider(AsyncHttpClientConfig config) |
Modifier and Type | Method and Description |
---|---|
protected AsyncHttpClientConfig |
NettyAsyncHttpProvider.getConfig() |
Modifier and Type | Method and Description |
---|---|
protected static org.jboss.netty.handler.codec.http.HttpRequest |
NettyAsyncHttpProvider.buildRequest(AsyncHttpClientConfig config,
Request request,
URI uri,
boolean allowConnect,
org.jboss.netty.buffer.ChannelBuffer buffer,
ProxyServer proxyServer) |
static <T> NettyResponseFuture<T> |
NettyAsyncHttpProvider.newFuture(URI uri,
Request request,
AsyncHandler<T> asyncHandler,
org.jboss.netty.handler.codec.http.HttpRequest nettyRequest,
AsyncHttpClientConfig config,
NettyAsyncHttpProvider provider,
ProxyServer proxyServer) |
protected static int |
NettyAsyncHttpProvider.requestTimeoutInMs(AsyncHttpClientConfig config,
PerRequestConfig perRequestConfig) |
protected <T> void |
NettyAsyncHttpProvider.writeRequest(org.jboss.netty.channel.Channel channel,
AsyncHttpClientConfig config,
NettyResponseFuture<T> future) |
Constructor and Description |
---|
NettyAsyncHttpProvider(AsyncHttpClientConfig config) |
Modifier and Type | Method and Description |
---|---|
static ProxyServer |
ProxyUtils.getProxyServer(AsyncHttpClientConfig config,
Request request) |
static String |
AsyncHttpProviderUtils.keepAliveHeaderValue(AsyncHttpClientConfig config) |
static int |
AsyncHttpProviderUtils.requestTimeout(AsyncHttpClientConfig config,
Request request) |
Copyright © 2014. All Rights Reserved.