Uses of Class
com.azure.core.http.rest.RequestOptions
Packages that use RequestOptions
Package
Description
This package contains classes and interfaces that provide RESTful HTTP functionality for Azure SDKs.
-
Uses of RequestOptions in com.azure.core.http.rest
Methods in com.azure.core.http.rest that return RequestOptionsModifier and TypeMethodDescriptionRequestOptions.addHeader(HttpHeaderName header, String value) Adds a header to the HTTP request.Deprecated.RequestOptions.addQueryParam(String parameterName, String value) Adds a query parameter to the request URL.RequestOptions.addQueryParam(String parameterName, String value, boolean encoded) Adds a query parameter to the request URL, specifying whether the parameter is already encoded.RequestOptions.addRequestCallback(Consumer<HttpRequest> requestCallback) Adds a custom request callback to modify the HTTP request before it's sent by the HttpClient.RequestOptions.setBody(BinaryData requestBody) Sets the body to send as part of the HTTP request.RequestOptions.setContext(Context context) Sets the additional context on the request that is passed during the service call.RequestOptions.setHeader(HttpHeaderName header, String value) Sets a header on the HTTP request.Deprecated.UsesetHeader(HttpHeaderName, String)as it provides better performance.
addHeader(HttpHeaderName, String)as it provides better performance.