public class RequestBuilder extends RequestBuilderBase<RequestBuilder>
Request
. Warning: mutable and not thread-safe! Beware that it holds a reference on the Request instance it builds, so modifying the builder will modify the
request even after it has been built.address, bodyGenerator, bodyParts, byteBufferData, byteData, channelPoolPartitioning, charset, compositeByteData, cookies, DEFAULT_NAME_RESOLVER, file, followRedirect, formParams, headers, localAddress, method, nameResolver, proxyServer, queryParams, rangeOffset, readTimeout, realm, requestTimeout, signatureCalculator, streamData, stringData, uri, uriEncoder, virtualHost
Constructor and Description |
---|
RequestBuilder() |
RequestBuilder(Request prototype) |
RequestBuilder(Request prototype,
boolean disableUrlEncoding,
boolean validateHeaders) |
RequestBuilder(String method) |
RequestBuilder(String method,
boolean disableUrlEncoding) |
RequestBuilder(String method,
boolean disableUrlEncoding,
boolean validateHeaders) |
addBodyPart, addCookie, addFormParam, addHeader, addHeader, addHeader, addOrReplaceCookie, addQueryParam, addQueryParams, build, clearHeaders, resetCookies, resetFormParams, resetMultipartData, resetNonMultipartData, resetQuery, setAddress, setBody, setBody, setBody, setBody, setBody, setBody, setBody, setBody, setBody, setBodyParts, setChannelPoolPartitioning, setCharset, setCookies, setFollowRedirect, setFormParams, setFormParams, setHeader, setHeader, setHeader, setHeaders, setHeaders, setLocalAddress, setMethod, setNameResolver, setProxyServer, setProxyServer, setQueryParams, setQueryParams, setRangeOffset, setReadTimeout, setRealm, setRealm, setRequestTimeout, setSignatureCalculator, setSingleHeaders, setUri, setUrl, setVirtualHost
public RequestBuilder()
public RequestBuilder(String method)
public RequestBuilder(String method, boolean disableUrlEncoding)
public RequestBuilder(String method, boolean disableUrlEncoding, boolean validateHeaders)
public RequestBuilder(Request prototype)
public RequestBuilder(Request prototype, boolean disableUrlEncoding, boolean validateHeaders)
Copyright © 2017. All Rights Reserved.