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
Sets the Accept
header with a specific contentType.
Sets a single header of key with a specific value if the value is not null.
Terminate HttpClient.receivePipeline if status code is not successful (>=300).
Executes a block that configures the HeadersBuilder associated to this request.
Gets the associated URL's host.
Registers listener to observe download progress.
Registers listener to observe upload progress.
Gets the associated URL's port.
Sets the HttpRequestBuilder from request.
Adds timeout boundaries to the request. Requires HttpTimeout feature to be installed.
Executes a block that configures the URLBuilder associated to this request.
Sets the HttpRequestBuilder.url from urlString.
Sets the HttpRequestBuilder.url from url.
Sets the HttpRequestBuilder.url from url.