Package | Description |
---|---|
com.azure.core.http |
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpRequest.getHttpMethod()
Get the request method.
|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.setHttpMethod(HttpMethod httpMethod)
Set the request method.
|
Constructor and Description |
---|
HttpRequest(HttpMethod httpMethod,
String url)
Create a new HttpRequest instance.
|
HttpRequest(HttpMethod httpMethod,
URL url)
Create a new HttpRequest instance.
|
HttpRequest(HttpMethod httpMethod,
URL url,
HttpHeaders headers,
Flux<ByteBuffer> body)
Create a new HttpRequest instance.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.