public class AsyncHttpClient.BoundRequestBuilder extends RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
queryComputer, queryParams, request, signatureCalculator
addOrReplaceCookie, addQueryParams, resetCookies, resetFormParams, resetMultipartData, resetNonMultipartData, resetQuery, setBody, setBody, setBody, setBodyEncoding, setConnectionPoolKeyStrategy, setContentLength, setCookies, setFollowRedirects, setInetAddress, setLocalInetAddress, setMethod, setProxyServer, setQueryParams, setQueryParams, setRangeOffset, setRealm, setRequestTimeout, setUri
public <T> ListenableFuture<T> execute(AsyncHandler<T> handler)
public ListenableFuture<Response> execute()
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 addFormParam(String key, String value)
addFormParam
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder addQueryParam(String name, String value)
addQueryParam
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(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 setFormParams(Map<String,List<String>> params)
setFormParams
in class RequestBuilderBase<AsyncHttpClient.BoundRequestBuilder>
public AsyncHttpClient.BoundRequestBuilder setFormParams(List<Param> params)
setFormParams
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 © 2015. All Rights Reserved.