Uses of Interface
org.asynchttpclient.Request
-
-
Uses of Request in org.asynchttpclient
Classes in org.asynchttpclient that implement Request Modifier and Type Class Description class
DefaultRequest
Methods in org.asynchttpclient that return Request Modifier and Type Method Description Request
RequestBuilderBase. build()
Methods in org.asynchttpclient with parameters of type Request Modifier and Type Method Description void
SignatureCalculator. calculateAndAddSignature(Request request, RequestBuilderBase<?> requestBuilder)
Method called whenRequestBuilderBase.build()
method is called.ListenableFuture<Response>
AsyncHttpClient. executeRequest(Request request)
Execute an HTTP request.<T> ListenableFuture<T>
AsyncHttpClient. executeRequest(Request request, AsyncHandler<T> handler)
Execute an HTTP request.ListenableFuture<Response>
DefaultAsyncHttpClient. executeRequest(Request request)
<T> ListenableFuture<T>
DefaultAsyncHttpClient. executeRequest(Request request, AsyncHandler<T> handler)
BoundRequestBuilder
AsyncHttpClient. prepareRequest(Request request)
Construct aRequestBuilder
using aRequest
BoundRequestBuilder
DefaultAsyncHttpClient. prepareRequest(Request request)
protected BoundRequestBuilder
DefaultAsyncHttpClient. requestBuilder(Request prototype)
Constructors in org.asynchttpclient with parameters of type Request Constructor Description BoundRequestBuilder(AsyncHttpClient client, Request prototype)
RequestBuilderBase(Request prototype)
RequestBuilderBase(Request prototype, boolean disableUrlEncoding, boolean validateHeaders)
-
Uses of Request in org.asynchttpclient.channel
Methods in org.asynchttpclient.channel with parameters of type Request Modifier and Type Method Description boolean
DefaultKeepAliveStrategy. keepAlive(InetSocketAddress remoteAddress, 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 ...boolean
KeepAliveStrategy. keepAlive(InetSocketAddress remoteAddress, 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. -
Uses of Request in org.asynchttpclient.filter
Methods in org.asynchttpclient.filter that return Request Modifier and Type Method Description Request
FilterContext.FilterContextBuilder. getRequest()
Request
FilterContext. getRequest()
Methods in org.asynchttpclient.filter with parameters of type Request Modifier and Type Method Description FilterContext.FilterContextBuilder<T>
FilterContext.FilterContextBuilder. request(Request request)
Constructors in org.asynchttpclient.filter with parameters of type Request Constructor Description FilterContextBuilder(AsyncHandler<T> asyncHandler, Request request)
-
Uses of Request in org.asynchttpclient.handler.resumable
Methods in org.asynchttpclient.handler.resumable that return Request Modifier and Type Method Description Request
ResumableAsyncHandler. adjustRequestRange(Request request)
Invoke this API if you want to set the Range header on yourRequest
based on the last valid bytes position.Methods in org.asynchttpclient.handler.resumable with parameters of type Request Modifier and Type Method Description Request
ResumableAsyncHandler. adjustRequestRange(Request request)
Invoke this API if you want to set the Range header on yourRequest
based on the last valid bytes position. -
Uses of Request in org.asynchttpclient.netty
Methods in org.asynchttpclient.netty that return Request Modifier and Type Method Description Request
NettyResponseFuture. getCurrentRequest()
Request
NettyResponseFuture. getTargetRequest()
Methods in org.asynchttpclient.netty with parameters of type Request Modifier and Type Method Description void
NettyResponseFuture. setCurrentRequest(Request currentRequest)
void
NettyResponseFuture. setTargetRequest(Request targetRequest)
Constructors in org.asynchttpclient.netty with parameters of type Request Constructor Description NettyResponseFuture(Request originalRequest, AsyncHandler<V> asyncHandler, NettyRequest nettyRequest, int maxRetry, ChannelPoolPartitioning connectionPoolPartitioning, ConnectionSemaphore connectionSemaphore, ProxyServer proxyServer)
-
Uses of Request in org.asynchttpclient.netty.handler.intercept
Methods in org.asynchttpclient.netty.handler.intercept with parameters of type Request Modifier and Type Method Description boolean
Unauthorized401Interceptor. exitAfterHandling401(io.netty.channel.Channel channel, NettyResponseFuture<?> future, io.netty.handler.codec.http.HttpResponse response, Request request, Realm realm, 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, ProxyServer proxyServer, io.netty.handler.codec.http.HttpRequest httpRequest)
boolean
ConnectSuccessInterceptor. exitAfterHandlingConnect(io.netty.channel.Channel channel, NettyResponseFuture<?> future, Request request, ProxyServer proxyServer)
boolean
Redirect30xInterceptor. exitAfterHandlingRedirect(io.netty.channel.Channel channel, NettyResponseFuture<?> future, io.netty.handler.codec.http.HttpResponse response, Request request, int statusCode, Realm realm)
-
Uses of Request in org.asynchttpclient.netty.request
Methods in org.asynchttpclient.netty.request with parameters of type Request Modifier and Type Method Description void
NettyRequestSender. drainChannelAndExecuteNextRequest(io.netty.channel.Channel channel, NettyResponseFuture<?> future, Request nextRequest)
void
NettyRequestSender. drainChannelAndExecuteNextRequest(io.netty.channel.Channel channel, NettyResponseFuture<?> future, Request nextRequest, io.netty.util.concurrent.Future<io.netty.channel.Channel> whenHandshaked)
NettyRequest
NettyRequestFactory. newNettyRequest(Request request, boolean performConnectRequest, 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)
-
Uses of Request in org.asynchttpclient.proxy
Methods in org.asynchttpclient.proxy that return types with arguments of type Request Modifier and Type Method Description @Nullable Function<Request,io.netty.handler.codec.http.HttpHeaders>
ProxyServer. getCustomHeaders()
Method parameters in org.asynchttpclient.proxy with type arguments of type Request Modifier and Type Method Description ProxyServer.Builder
ProxyServer.Builder. setCustomHeaders(Function<Request,io.netty.handler.codec.http.HttpHeaders> customHeaders)
Constructor parameters in org.asynchttpclient.proxy with type arguments of type Request Constructor Description ProxyServer(String host, int port, int securedPort, @Nullable Realm realm, List<String> nonProxyHosts, ProxyType proxyType, @Nullable Function<Request,io.netty.handler.codec.http.HttpHeaders> customHeaders)
-
Uses of Request in org.asynchttpclient.util
Methods in org.asynchttpclient.util with parameters of type Request Modifier and Type Method Description static boolean
HttpUtils. followRedirect(AsyncHttpClientConfig config, Request request)
static @Nullable ProxyServer
ProxyUtils. getProxyServer(AsyncHttpClientConfig config, Request request)
static @Nullable String
AuthenticatorUtils. perConnectionAuthorizationHeader(Request request, @Nullable ProxyServer proxyServer, @Nullable Realm realm)
static @Nullable String
AuthenticatorUtils. perConnectionProxyAuthorizationHeader(Request request, @Nullable Realm proxyRealm)
static @Nullable String
AuthenticatorUtils. perRequestAuthorizationHeader(Request request, @Nullable Realm realm)
static @Nullable String
AuthenticatorUtils. perRequestProxyAuthorizationHeader(Request request, @Nullable Realm proxyRealm)
-