| Package | Description |
|---|---|
| com.azure.core.http |
Package containing the HTTP abstractions between the AnnotationParser, RestProxy and HTTP client.
|
| com.azure.core.http.policy |
Package containing HttpPipelinePolicy interface and it's implementations.
|
| com.azure.core.http.rest |
Package containing REST-related APIs.
|
| Modifier and Type | Method and Description |
|---|---|
HttpHeaders |
HttpRequest.headers()
Get the request headers.
|
abstract HttpHeaders |
HttpResponse.headers()
Get all response headers.
|
HttpHeaders |
HttpHeaders.put(String name,
String value)
Set a header.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequest.headers(HttpHeaders headers)
Set the request headers.
|
| Constructor and Description |
|---|
HttpRequest(HttpMethod httpMethod,
URL url,
HttpHeaders headers,
reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> body)
Create a new HttpRequest instance.
|
| Constructor and Description |
|---|
AddHeadersPolicy(HttpHeaders headers)
Creates a AddHeadersPolicy.
|
| Modifier and Type | Method and Description |
|---|---|
HttpHeaders |
SimpleResponse.headers()
Get the headers from the HTTP response.
|
HttpHeaders |
ResponseBase.headers()
Get the headers from the HTTP response.
|
HttpHeaders |
Response.headers()
Get the headers from the HTTP response.
|
| Constructor and Description |
|---|
ResponseBase(HttpRequest request,
int statusCode,
HttpHeaders headers,
T value,
H deserializedHeaders)
Create ResponseBase.
|
SimpleResponse(HttpRequest request,
int statusCode,
HttpHeaders headers,
T value)
Creates a SimpleResponse.
|
StreamResponse(HttpRequest request,
int statusCode,
HttpHeaders headers,
reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> value)
Creates StreamResponse.
|
VoidResponse(HttpRequest request,
int statusCode,
HttpHeaders headers)
Creates VoidResponse.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.