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, contentLength, cookies, file, followRedirect, formParams, headers, localAddress, method, nameResolver, proxyServer, queryParams, rangeOffset, 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, addOrReplaceCookie, addQueryParam, addQueryParams, build, resetCookies, resetFormParams, resetMultipartData, resetNonMultipartData, resetQuery, setAddress, setBody, setBody, setBody, setBody, setBody, setBody, setBody, setBody, setBodyParts, setChannelPoolPartitioning, setCharset, setContentLength, setCookies, setFollowRedirect, setFormParams, setFormParams, setHeader, setHeaders, setHeaders, setLocalAddress, setMethod, setNameResolver, setProxyServer, setProxyServer, setQueryParams, setQueryParams, setRangeOffset, setRealm, setRequestTimeout, setSignatureCalculator, 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 © 2015. All Rights Reserved.