Modifier and Type | Method and Description |
---|---|
Request |
RequestBuilderBase.build() |
Request |
RequestBuilder.build() |
Request |
AsyncHttpClient.BoundRequestBuilder.build() |
Modifier and Type | Method and Description |
---|---|
void |
SignatureCalculator.calculateAndAddSignature(Request request,
RequestBuilderBase<?> requestBuilder)
Method called when
RequestBuilder.build() method is called. |
<T> ListenableFuture<T> |
AsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler)
Execute the request and invoke the
AsyncHandler when the response arrive. |
ListenableFuture<Response> |
AsyncHttpClient.executeRequest(Request request)
Execute an HTTP request.
|
<T> ListenableFuture<T> |
AsyncHttpClient.executeRequest(Request request,
AsyncHandler<T> handler)
Execute an HTTP request.
|
AsyncHttpClient.BoundRequestBuilder |
AsyncHttpClient.prepareRequest(Request request)
Construct a
RequestBuilder using a Request |
protected AsyncHttpClient.BoundRequestBuilder |
AsyncHttpClient.requestBuilder(Request prototype) |
Constructor and Description |
---|
RequestBuilder(Request prototype) |
RequestBuilder(Request prototype,
UriEncoder uriEncoder) |
RequestBuilderBase(Class<T> derived,
Request prototype) |
RequestBuilderBase(Class<T> derived,
Request prototype,
UriEncoder uriEncoder) |
Modifier and Type | Method and Description |
---|---|
Request |
FilterContext.getRequest()
Return the original or decorated
Request |
Request |
FilterContext.FilterContextBuilder.getRequest() |
Modifier and Type | Method and Description |
---|---|
FilterContext.FilterContextBuilder<T> |
FilterContext.FilterContextBuilder.request(Request request) |
Modifier and Type | Method and Description |
---|---|
void |
OAuthSignatureCalculator.calculateAndAddSignature(Request request,
RequestBuilderBase<?> requestBuilder) |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
GrizzlyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
JDKAsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler) |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
NettyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
Request |
NettyResponseFuture.getRequest() |
Modifier and Type | Method and Description |
---|---|
void |
NettyResponseFuture.setRequest(Request request) |
Constructor and Description |
---|
NettyResponseFuture(Uri uri,
Request request,
AsyncHandler<V> asyncHandler,
NettyRequest nettyRequest,
int maxRetry,
ConnectionPoolPartitioning connectionPoolPartitioning,
ProxyServer proxyServer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Protocol.exitAfterHandlingRedirect(org.jboss.netty.channel.Channel channel,
NettyResponseFuture<?> future,
org.jboss.netty.handler.codec.http.HttpResponse response,
Request request,
int statusCode,
Realm realm) |
Modifier and Type | Method and Description |
---|---|
NettyRequest |
NettyRequestFactory.newNettyRequest(Request request,
Uri uri,
boolean forceConnect,
ProxyServer proxyServer) |
<T> void |
NettyRequestSender.sendNextRequest(Request request,
NettyResponseFuture<T> future) |
<T> ListenableFuture<T> |
NettyRequestSender.sendRequest(Request request,
AsyncHandler<T> asyncHandler,
NettyResponseFuture<T> future,
boolean reclaimCache) |
Modifier and Type | Method and Description |
---|---|
Request |
ResumableAsyncHandler.adjustRequestRange(Request request)
Invoke this API if you want to set the Range header on your
Request based on the last valid bytes
position. |
Modifier and Type | Method and Description |
---|---|
Request |
ResumableAsyncHandler.adjustRequestRange(Request request)
Invoke this API if you want to set the Range header on your
Request based on the last valid bytes
position. |
Modifier and Type | Method and Description |
---|---|
static boolean |
ProxyUtils.avoidProxy(ProxyServer proxyServer,
Request request) |
static boolean |
AsyncHttpProviderUtils.followRedirect(AsyncHttpClientConfig config,
Request request) |
static ProxyServer |
ProxyUtils.getProxyServer(AsyncHttpClientConfig config,
Request request) |
static String |
AuthenticatorUtils.perConnectionAuthorizationHeader(Request request,
Uri uri,
ProxyServer proxyServer,
Realm realm) |
static String |
AuthenticatorUtils.perConnectionProxyAuthorizationHeader(Request request,
ProxyServer proxyServer,
boolean connect) |
static String |
AuthenticatorUtils.perRequestAuthorizationHeader(Request request,
Uri uri,
Realm realm) |
static String |
AuthenticatorUtils.perRequestProxyAuthorizationHeader(Request request,
Realm realm,
ProxyServer proxyServer,
boolean connect) |
static int |
AsyncHttpProviderUtils.requestTimeout(AsyncHttpClientConfig config,
Request request) |
Copyright © 2016. All Rights Reserved.