| Package | Description |
|---|---|
| com.azure.core.exception |
Package containing core exception classes
|
| com.azure.core.http |
Package containing the HTTP abstractions between the AnnotationParser, RestProxy and HTTP client.
|
| com.azure.core.http.rest |
Package containing REST-related APIs.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequestException.request() |
| Constructor and Description |
|---|
HttpRequestException(String message,
HttpRequest request)
Initializes a new instance of the ServiceRequestException class.
|
HttpRequestException(String message,
HttpRequest request,
Throwable cause)
Initializes a new instance of the ServiceRequestException class.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequest.body(byte[] content)
Set the request content.
|
HttpRequest |
HttpRequest.body(reactor.core.publisher.Flux<io.netty.buffer.ByteBuf> content)
Set request content.
|
HttpRequest |
HttpRequest.body(String content)
Set the request content.
|
HttpRequest |
HttpRequest.buffer()
Creates a clone of the request.
|
HttpRequest |
HttpRequest.header(String name,
String value)
Set a request header, replacing any existing value.
|
HttpRequest |
HttpRequest.headers(HttpHeaders headers)
Set the request headers.
|
HttpRequest |
HttpRequest.httpMethod(HttpMethod httpMethod)
Set the request method.
|
HttpRequest |
HttpPipelineCallContext.httpRequest()
Get the http request.
|
HttpRequest |
HttpResponse.request()
Get the request which resulted in this response.
|
HttpRequest |
HttpRequest.url(URL url)
Set the target address to send the request to.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineCallContext |
HttpPipelineCallContext.httpRequest(HttpRequest request)
Sets the http request object in the context.
|
HttpResponse |
HttpResponse.request(HttpRequest request)
Sets the request which resulted in this HttpResponse.
|
reactor.core.publisher.Mono<HttpResponse> |
HttpPipeline.send(HttpRequest request)
Wraps the request in a context and send it through pipeline.
|
reactor.core.publisher.Mono<HttpResponse> |
HttpClient.send(HttpRequest request)
Send the provided request asynchronously.
|
reactor.core.publisher.Mono<HttpResponse> |
HttpPipeline.send(HttpRequest request,
Context data)
Wraps the request in a context with additional metadata and sends it through the pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
SimpleResponse.request() |
HttpRequest |
ResponseBase.request() |
HttpRequest |
Response.request()
Get the HTTP request which resulted in this 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.