Constructs a new builder for an HTTP request.
Builds, validates, and returns the HttpRequest.
the built HTTP request.
Sets the Url that will be used to capture cookies for authentication before the actual request is executed.
the Url that will be used to capture cookies for authentication before the actual request is executed.
the builder.
Sets the body that will be included in the request. If encodeBodyAsJson is not set (or is set to false) the body must either be a {@link String} or a {@link Binary} or else the request will fail when executed on Stitch.
the body that will be included in the request.
the builder.
Sets the cookies that will be included in the request.
the cookies that will be included in the request.
the builder.
Sets whether or not the included body should be encoded as extended JSON when sent to the url in this request. Defaults to false.
Builder#withBody withBody
whether or not the included body should be encoded as extended JSON when sent to the url in this request.
the builder.
Sets whether or not Stitch should follow redirects while executing the request. Defaults to false.
whether or not Stitch should follow redirects while executing the request. Defaults to false.
the builder.
Sets the form that will be included in the request.
the form that will be included in the request.
the builder.
Sets the headers that will be included in the request.
the headers that will be included in the request.
the builder.
Sets the HTTP method of the request.
the HTTP method of the request.
the builder.
Sets the Url that the request will be performed against.
the Url that the request will be performed against.
the builder.
Generated using TypeDoc
Builder
A builder that can build HttpRequests.