Modifier and Type | Class and Description |
---|---|
class |
DefaultRequest |
Modifier and Type | Method and Description |
---|---|
Request |
RequestBuilderBase.build() |
Modifier and Type | Method and Description |
---|---|
void |
SignatureCalculator.calculateAndAddSignature(Request request,
RequestBuilderBase<?> requestBuilder)
Method called when
RequestBuilderBase.build() method is called. |
ListenableFuture<Response> |
DefaultAsyncHttpClient.executeRequest(Request request) |
ListenableFuture<Response> |
AsyncHttpClient.executeRequest(Request request)
Execute an HTTP request.
|
<T> ListenableFuture<T> |
DefaultAsyncHttpClient.executeRequest(Request request,
AsyncHandler<T> handler) |
<T> ListenableFuture<T> |
AsyncHttpClient.executeRequest(Request request,
AsyncHandler<T> handler)
Execute an HTTP request.
|
BoundRequestBuilder |
DefaultAsyncHttpClient.prepareRequest(Request request) |
BoundRequestBuilder |
AsyncHttpClient.prepareRequest(Request request)
Construct a
RequestBuilder using a Request |
protected BoundRequestBuilder |
DefaultAsyncHttpClient.requestBuilder(Request prototype) |
Constructor and Description |
---|
BoundRequestBuilder(AsyncHttpClient client,
Request prototype) |
RequestBuilder(Request prototype) |
RequestBuilder(Request prototype,
boolean disableUrlEncoding,
boolean validateHeaders) |
RequestBuilderBase(Request prototype) |
RequestBuilderBase(Request prototype,
boolean disableUrlEncoding,
boolean validateHeaders) |
Modifier and Type | Method and Description |
---|---|
boolean |
KeepAliveStrategy.keepAlive(Request ahcRequest,
io.netty.handler.codec.http.HttpRequest nettyRequest,
io.netty.handler.codec.http.HttpResponse nettyResponse)
Determines whether the connection should be kept alive after this HTTP message exchange.
|
boolean |
DefaultKeepAliveStrategy.keepAlive(Request ahcRequest,
io.netty.handler.codec.http.HttpRequest request,
io.netty.handler.codec.http.HttpResponse response)
Implemented in accordance with RFC 7230 section 6.1 https://tools.ietf.org/html/rfc7230#section-6.1
|
Modifier and Type | Method and Description |
---|---|
Request |
FilterContext.getRequest() |
Request |
FilterContext.FilterContextBuilder.getRequest() |
Modifier and Type | Method and Description |
---|---|
FilterContext.FilterContextBuilder<T> |
FilterContext.FilterContextBuilder.request(Request request) |
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 |
---|---|
Request |
NettyResponseFuture.getCurrentRequest() |
Request |
NettyResponseFuture.getTargetRequest() |
Modifier and Type | Method and Description |
---|---|
void |
NettyResponseFuture.setCurrentRequest(Request currentRequest) |
void |
NettyResponseFuture.setTargetRequest(Request targetRequest) |
Constructor and Description |
---|
NettyResponseFuture(Request originalRequest,
AsyncHandler<V> asyncHandler,
NettyRequest nettyRequest,
int maxRetry,
ChannelPoolPartitioning connectionPoolPartitioning,
ProxyServer proxyServer) |
Modifier and Type | Method and Description |
---|---|
boolean |
Unauthorized401Interceptor.exitAfterHandling401(io.netty.channel.Channel channel,
NettyResponseFuture<?> future,
io.netty.handler.codec.http.HttpResponse response,
Request request,
int statusCode,
Realm realm,
ProxyServer proxyServer,
io.netty.handler.codec.http.HttpRequest httpRequest) |
boolean |
ProxyUnauthorized407Interceptor.exitAfterHandling407(io.netty.channel.Channel channel,
NettyResponseFuture<?> future,
io.netty.handler.codec.http.HttpResponse response,
Request request,
int statusCode,
ProxyServer proxyServer,
io.netty.handler.codec.http.HttpRequest httpRequest) |
boolean |
ConnectSuccessInterceptor.exitAfterHandlingConnect(io.netty.channel.Channel channel,
NettyResponseFuture<?> future,
Request request,
ProxyServer proxyServer,
int statusCode,
io.netty.handler.codec.http.HttpRequest httpRequest) |
boolean |
Redirect30xInterceptor.exitAfterHandlingRedirect(io.netty.channel.Channel channel,
NettyResponseFuture<?> future,
io.netty.handler.codec.http.HttpResponse response,
Request request,
int statusCode,
Realm realm) |
Modifier and Type | Method and Description |
---|---|
void |
NettyRequestSender.drainChannelAndExecuteNextRequest(io.netty.channel.Channel channel,
NettyResponseFuture<?> future,
Request nextRequest) |
Callback |
NettyRequestSender.newExecuteNextRequestCallback(NettyResponseFuture<?> future,
Request nextRequest) |
NettyRequest |
NettyRequestFactory.newNettyRequest(Request request,
boolean forceConnect,
ProxyServer proxyServer,
Realm realm,
Realm proxyRealm) |
<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 |
---|---|
void |
OAuthSignatureCalculator.calculateAndAddSignature(Request request,
RequestBuilderBase<?> requestBuilder) |
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<List<InetSocketAddress>> |
RequestHostnameResolver.resolve(Request request,
ProxyServer proxy,
AsyncHandler<?> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpUtils.followRedirect(AsyncHttpClientConfig config,
Request request) |
static ProxyServer |
ProxyUtils.getProxyServer(AsyncHttpClientConfig config,
Request request) |
static String |
HttpUtils.hostHeader(Request request,
Uri uri) |
static String |
AuthenticatorUtils.perConnectionAuthorizationHeader(Request request,
ProxyServer proxyServer,
Realm realm) |
static String |
AuthenticatorUtils.perConnectionProxyAuthorizationHeader(Request request,
Realm proxyRealm) |
Copyright © 2015. All Rights Reserved.