Package | Description |
---|---|
com.azure.core.experimental.http |
Package containing the classes for sending HTTP requests and receiving HTTP responses for a low level client.
|
Modifier and Type | Method and Description |
---|---|
DynamicRequest |
DynamicRequest.addHeader(HttpHeader httpHeader)
Adds a header to the HTTP request
|
DynamicRequest |
DynamicRequest.addHeader(String header,
String value)
Adds a header to the HTTP request.
|
DynamicRequest |
DynamicRequest.addQueryParam(String parameterName,
String value)
Adds a query parameter to the request URL.
|
DynamicRequest |
DynamicRequest.setBody(Object body)
Sets the body on the HTTP request.
|
DynamicRequest |
DynamicRequest.setBody(String body)
Sets the string representation of the request body.
|
DynamicRequest |
DynamicRequest.setHeaders(HttpHeaders httpHeaders)
Sets the headers on the HTTP request.
|
DynamicRequest |
DynamicRequest.setHttpMethod(HttpMethod httpMethod)
Sets the HTTP method for this request.
|
DynamicRequest |
DynamicRequest.setPathParam(String parameterName,
String value)
Sets the value for a specific path parameter in the URL.
|
DynamicRequest |
DynamicRequest.setUrl(String url)
Sets the URL for the HTTP request.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.