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.setContext(Context context) |
Sets the additional context on the request that is passed during the service call.
|
RequestOptions |
RequestOptions.setHeader(String header,
String value) |
Sets a header on the HTTP request.
|