RequestOptions |
RequestOptions.addHeader(String header,
String value) |
Adds a header to the HTTP request.
|
RequestOptions |
RequestOptions.addQueryParam(String parameterName,
String value) |
Adds a query parameter to the request URL.
|
RequestOptions |
RequestOptions.addQueryParam(String parameterName,
String value,
boolean encoded) |
Adds a query parameter to the request URL, specifying whether the parameter is already encoded.
|
RequestOptions |
RequestOptions.addRequestCallback(Consumer<HttpRequest> requestCallback) |
Adds a custom request callback to modify the HTTP request before it's sent by the HttpClient.
|
RequestOptions |
RequestOptions.setBody(BinaryData requestBody) |
Sets the body to send as part of the HTTP request.
|
RequestOptions |
RequestOptions.setHeader(String header,
String value) |
Sets or replaces a header to the HTTP request.
|
RequestOptions |
RequestOptions.setThrowOnError(boolean throwOnError) |
Sets whether exception is thrown when an HTTP response with a status code indicating an error
(400 or above) is received.
|