| Package | Description |
|---|---|
| com.azure.core.http.rest |
Package containing REST-related APIs.
|
| com.azure.core.util |
Package containing core utility classes.
|
| com.azure.core.util.polling |
Package containing API for long running operations.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PagedResponse<T>
Response of a REST API that returns page.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PagedResponseBase<H,T>
Represents an HTTP response that contains a list of items deserialized into a
Page. |
class |
ResponseBase<H,T>
The response of a REST request.
|
class |
SimpleResponse<T>
REST response with a strongly-typed content specified.
|
class |
StreamResponse
REST response with a streaming content.
|
| Constructor and Description |
|---|
SimpleResponse(Response<?> response,
T value)
Creates a
SimpleResponse from a response and a value. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Mono<T> |
FluxUtil.toMono(Response<T> response)
Converts the incoming content to Mono.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<Boolean> |
DefaultPollingStrategy.canPoll(Response<?> initialResponse) |
Mono<Boolean> |
StatusCheckPollingStrategy.canPoll(Response<?> initialResponse) |
Mono<Boolean> |
PollingStrategy.canPoll(Response<?> initialResponse)
Checks if this strategy is able to handle polling for this long running operation based on the information in
the initial response.
|
Mono<Boolean> |
ChainedPollingStrategy.canPoll(Response<?> initialResponse) |
Mono<Boolean> |
LocationPollingStrategy.canPoll(Response<?> initialResponse) |
Mono<Boolean> |
OperationResourcePollingStrategy.canPoll(Response<?> initialResponse) |
Mono<PollResponse<T>> |
DefaultPollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
StatusCheckPollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
PollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType)
Parses the initial response into a
LongRunningOperationStatus, and stores information useful for polling
in the PollingContext. |
Mono<PollResponse<T>> |
ChainedPollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType)
Parses the initial response into a
LongRunningOperationStatus, and stores information useful for polling
in the PollingContext. |
Mono<PollResponse<T>> |
LocationPollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
OperationResourcePollingStrategy.onInitialResponse(Response<?> response,
PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Copyright © 2021 Microsoft Corporation. All rights reserved.