Uses of Interface
org.asynchttpclient.Request
-
-
Uses of Request in org.asynchttpclient
Classes in org.asynchttpclient that implement Request Modifier and Type Class Description classDefaultRequestMethods in org.asynchttpclient that return Request Modifier and Type Method Description RequestRequestBuilderBase. build()Methods in org.asynchttpclient with parameters of type Request Modifier and Type Method Description voidSignatureCalculator. 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)BoundRequestBuilderAsyncHttpClient. prepareRequest(Request request)Construct aRequestBuilderusing aRequestBoundRequestBuilderDefaultAsyncHttpClient. prepareRequest(Request request)protected BoundRequestBuilderDefaultAsyncHttpClient. 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 booleanDefaultKeepAliveStrategy. 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 ...booleanKeepAliveStrategy. 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 RequestFilterContext.FilterContextBuilder. getRequest()RequestFilterContext. 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 RequestResumableAsyncHandler. adjustRequestRange(Request request)Invoke this API if you want to set the Range header on yourRequestbased on the last valid bytes position.Methods in org.asynchttpclient.handler.resumable with parameters of type Request Modifier and Type Method Description RequestResumableAsyncHandler. adjustRequestRange(Request request)Invoke this API if you want to set the Range header on yourRequestbased 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 RequestNettyResponseFuture. getCurrentRequest()RequestNettyResponseFuture. getTargetRequest()Methods in org.asynchttpclient.netty with parameters of type Request Modifier and Type Method Description voidNettyResponseFuture. setCurrentRequest(Request currentRequest)voidNettyResponseFuture. 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 booleanUnauthorized401Interceptor. 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)booleanProxyUnauthorized407Interceptor. 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)booleanConnectSuccessInterceptor. exitAfterHandlingConnect(io.netty.channel.Channel channel, NettyResponseFuture<?> future, Request request, ProxyServer proxyServer)booleanRedirect30xInterceptor. 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 voidNettyRequestSender. drainChannelAndExecuteNextRequest(io.netty.channel.Channel channel, NettyResponseFuture<?> future, Request nextRequest)voidNettyRequestSender. drainChannelAndExecuteNextRequest(io.netty.channel.Channel channel, NettyResponseFuture<?> future, Request nextRequest, io.netty.util.concurrent.Future<io.netty.channel.Channel> whenHandshaked)NettyRequestNettyRequestFactory. newNettyRequest(Request request, boolean performConnectRequest, ProxyServer proxyServer, Realm realm, Realm proxyRealm)<T> voidNettyRequestSender. 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.BuilderProxyServer.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 booleanHttpUtils. followRedirect(AsyncHttpClientConfig config, Request request)static @Nullable ProxyServerProxyUtils. getProxyServer(AsyncHttpClientConfig config, Request request)static @Nullable StringAuthenticatorUtils. perConnectionAuthorizationHeader(Request request, @Nullable ProxyServer proxyServer, @Nullable Realm realm)static @Nullable StringAuthenticatorUtils. perConnectionProxyAuthorizationHeader(Request request, @Nullable Realm proxyRealm)static @Nullable StringAuthenticatorUtils. perRequestAuthorizationHeader(Request request, @Nullable Realm realm)static @Nullable StringAuthenticatorUtils. perRequestProxyAuthorizationHeader(Request request, @Nullable Realm proxyRealm)
-