public class AsyncHttpClient.BoundRequestBuilder extends RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
baseURL, request, signatureCalculator, useRawUrl
addOrReplaceCookie, resetCookies, resetMultipartData, resetNonMultipartData, resetParameters, resetQueryParameters, setBody, setBody, setBodyEncoding, setConnectionPoolKeyStrategy, setContentLength, setFollowRedirects, setInetAddress, setLocalInetAddress, setMethod, setPerRequestConfig, setProxyServer, setQueryParameters, setRangeOffset, setRealm, setURI
public <T> ListenableFuture<T> execute(AsyncHandler<T> handler) throws IOException
IOException
public ListenableFuture<Response> execute() throws IOException
IOException
public AsyncHttpClient.BoundRequestBuilder addBodyPart(Part part)
addBodyPart
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder addCookie(Cookie cookie)
addCookie
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder addHeader(String name, String value)
addHeader
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder addParameter(String key, String value)
addParameter
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder addQueryParameter(String name, String value)
addQueryParameter
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public Request build()
build
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setBody(byte[] data)
setBody
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setBody(Request.EntityWriter dataWriter, long length)
setBody
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setBody(Request.EntityWriter dataWriter)
setBody
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setBody(InputStream stream)
setBody
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setBody(String data)
setBody
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setHeader(String name, String value)
setHeader
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setHeaders(FluentCaseInsensitiveStringsMap headers)
setHeaders
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setHeaders(Map<String,Collection<String>> headers)
setHeaders
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setParameters(Map<String,Collection<String>> parameters)
setParameters
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setParameters(FluentStringsMap parameters)
setParameters
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setUrl(String url)
setUrl
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setVirtualHost(String virtualHost)
setVirtualHost
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setSignatureCalculator(SignatureCalculator signatureCalculator)
setSignatureCalculator
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
Copyright © 2014. All Rights Reserved.