HttpRequestBuilder
Class for building HttpRequestData.
Constructors
Types
Functions
Create immutable HttpRequestData
Retrieve capability by key.
Set request specific attributes specified by block.
Set capability configuration.
Mutates this copying all the data but execution context from another builder using it as base.
Mutates this copying all the data from another builder using it as base.
Executes a block that configures the URLBuilder associated to this request.
Properties
HeadersBuilder to configure the headers for this request.
HttpMethod used by this request. HttpMethod.Get by default.
Extensions
Terminate HttpClient.receivePipeline if status code is not successful (>=300).
Gets the associated URL's host.
Registers listener to observe download progress.
Registers listener to observe upload progress.
Gets the associated URL's port.
Configures the HttpRequestRetry plugin on a per-request level.
Sets the HttpRequestBuilder from request.
Adds timeout boundaries to the request. Requires the HttpTimeout plugin to be installed.
Executes a block that configures the URLBuilder associated to this request.
Sets the url using the specified scheme, host, port and path. Pass null
to keep existing value in the URLBuilder.
Sets the HttpRequestBuilder.url from urlString.
Sets the HttpRequestBuilder.url from url.
Sets the HttpRequestBuilder.url from url.