Package | Description |
---|---|
com.azure.core.util |
Package containing core utility classes.
|
com.azure.core.util.polling |
Package containing API for long running operations.
|
com.azure.core.util.serializer |
Package containing interfaces describing serialization and deserialization contract.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
BinaryData.toObject(TypeReference<T> typeReference)
Returns an
Object representation of this BinaryData by deserializing its data using the default
JsonSerializer . |
<T> T |
BinaryData.toObject(TypeReference<T> typeReference,
ObjectSerializer serializer)
Returns an
Object representation of this BinaryData by deserializing its data using the passed
ObjectSerializer . |
<T> Mono<T> |
BinaryData.toObjectAsync(TypeReference<T> typeReference)
Returns an
Object representation of this BinaryData by deserializing its data using the default
JsonSerializer . |
<T> Mono<T> |
BinaryData.toObjectAsync(TypeReference<T> typeReference,
ObjectSerializer serializer)
Returns an
Object representation of this BinaryData by deserializing its data using the passed
ObjectSerializer . |
Modifier and Type | Method and Description |
---|---|
static <T,U> PollerFlux<T,U> |
PollerFlux.create(Duration pollInterval,
Supplier<Mono<? extends Response<?>>> initialOperation,
PollingStrategy<T,U> strategy,
TypeReference<T> pollResponseType,
TypeReference<U> resultType)
Creates PollerFlux.
|
static <T,U> PollerFlux<T,U> |
PollerFlux.create(Duration pollInterval,
Supplier<Mono<? extends Response<?>>> initialOperation,
PollingStrategy<T,U> strategy,
TypeReference<T> pollResponseType,
TypeReference<U> resultType)
Creates PollerFlux.
|
Mono<U> |
DefaultPollingStrategy.getResult(PollingContext<T> context,
TypeReference<U> resultType) |
Mono<U> |
StatusCheckPollingStrategy.getResult(PollingContext<T> pollingContext,
TypeReference<U> resultType) |
Mono<U> |
PollingStrategy.getResult(PollingContext<T> pollingContext,
TypeReference<U> resultType)
Parses the response from the final GET call into the result type of the long running operation.
|
Mono<U> |
ChainedPollingStrategy.getResult(PollingContext<T> context,
TypeReference<U> resultType)
Parses the response from the final GET call into the result type of the long running operation.
|
Mono<U> |
LocationPollingStrategy.getResult(PollingContext<T> pollingContext,
TypeReference<U> resultType) |
Mono<U> |
OperationResourcePollingStrategy.getResult(PollingContext<T> pollingContext,
TypeReference<U> resultType) |
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) |
Mono<PollResponse<T>> |
DefaultPollingStrategy.poll(PollingContext<T> context,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
StatusCheckPollingStrategy.poll(PollingContext<T> context,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
PollingStrategy.poll(PollingContext<T> pollingContext,
TypeReference<T> pollResponseType)
Parses the response from the polling URL into a
PollResponse , and stores information
useful for further polling and final response in the PollingContext . |
Mono<PollResponse<T>> |
ChainedPollingStrategy.poll(PollingContext<T> context,
TypeReference<T> pollResponseType)
Parses the response from the polling URL into a
PollResponse , and stores information
useful for further polling and final response in the PollingContext . |
Mono<PollResponse<T>> |
LocationPollingStrategy.poll(PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Mono<PollResponse<T>> |
OperationResourcePollingStrategy.poll(PollingContext<T> pollingContext,
TypeReference<T> pollResponseType) |
Modifier and Type | Method and Description |
---|---|
static <T> TypeReference<T> |
TypeReference.createInstance(Class<T> clazz)
|
Modifier and Type | Method and Description |
---|---|
<T> T |
JsonSerializer.deserialize(InputStream stream,
TypeReference<T> typeReference)
Reads a JSON stream into its object representation.
|
<T> T |
ObjectSerializer.deserialize(InputStream stream,
TypeReference<T> typeReference)
Reads a stream into its object representation.
|
<T> Mono<T> |
JsonSerializer.deserializeAsync(InputStream stream,
TypeReference<T> typeReference)
Reads a JSON stream into its object representation.
|
<T> Mono<T> |
ObjectSerializer.deserializeAsync(InputStream stream,
TypeReference<T> typeReference)
Reads a stream into its object representation.
|
default <T> T |
JsonSerializer.deserializeFromBytes(byte[] data,
TypeReference<T> typeReference)
Reads a JSON byte array into its object representation.
|
default <T> T |
ObjectSerializer.deserializeFromBytes(byte[] data,
TypeReference<T> typeReference)
Reads a byte array into its object representation.
|
default <T> Mono<T> |
JsonSerializer.deserializeFromBytesAsync(byte[] data,
TypeReference<T> typeReference)
Reads a JSON byte array into its object representation.
|
default <T> Mono<T> |
ObjectSerializer.deserializeFromBytesAsync(byte[] data,
TypeReference<T> typeReference)
Reads a byte array into its object representation.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.