Uses of Class
com.azure.core.util.serializer.TypeReference
-
Packages that use TypeReference 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. -
-
Uses of TypeReference in com.azure.core.util
Methods in com.azure.core.util with parameters of type TypeReference Modifier and Type Method Description <T> T
BinaryData. toObject(TypeReference<T> typeReference)
Returns anObject
representation of thisBinaryData
by deserializing its data using the defaultJsonSerializer
.<T> T
BinaryData. toObject(TypeReference<T> typeReference, ObjectSerializer serializer)
Returns anObject
representation of thisBinaryData
by deserializing its data using the passedObjectSerializer
.<T> Mono<T>
BinaryData. toObjectAsync(TypeReference<T> typeReference)
Returns anObject
representation of thisBinaryData
by deserializing its data using the defaultJsonSerializer
.<T> Mono<T>
BinaryData. toObjectAsync(TypeReference<T> typeReference, ObjectSerializer serializer)
Returns anObject
representation of thisBinaryData
by deserializing its data using the passedObjectSerializer
. -
Uses of TypeReference in com.azure.core.util.polling
Methods in com.azure.core.util.polling with parameters of type TypeReference Modifier and Type Method 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.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>
DefaultPollingStrategy. getResult(PollingContext<T> context, TypeReference<U> resultType)
Mono<U>
LocationPollingStrategy. getResult(PollingContext<T> pollingContext, TypeReference<U> resultType)
Mono<U>
OperationResourcePollingStrategy. 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>
StatusCheckPollingStrategy. getResult(PollingContext<T> pollingContext, TypeReference<U> resultType)
Mono<PollResponse<T>>
ChainedPollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)
Parses the initial response into aLongRunningOperationStatus
, and stores information useful for polling in thePollingContext
.Mono<PollResponse<T>>
DefaultPollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)
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>>
PollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)
Parses the initial response into aLongRunningOperationStatus
, and stores information useful for polling in thePollingContext
.Mono<PollResponse<T>>
StatusCheckPollingStrategy. onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType)
Mono<PollResponse<T>>
ChainedPollingStrategy. poll(PollingContext<T> context, TypeReference<T> pollResponseType)
Parses the response from the polling URL into aPollResponse
, and stores information useful for further polling and final response in thePollingContext
.Mono<PollResponse<T>>
DefaultPollingStrategy. poll(PollingContext<T> context, TypeReference<T> pollResponseType)
Mono<PollResponse<T>>
LocationPollingStrategy. poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType)
Mono<PollResponse<T>>
OperationResourcePollingStrategy. poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType)
Mono<PollResponse<T>>
PollingStrategy. poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType)
Parses the response from the polling URL into aPollResponse
, and stores information useful for further polling and final response in thePollingContext
.Mono<PollResponse<T>>
StatusCheckPollingStrategy. poll(PollingContext<T> context, TypeReference<T> pollResponseType)
-
Uses of TypeReference in com.azure.core.util.serializer
Methods in com.azure.core.util.serializer that return TypeReference Modifier and Type Method Description static <T> TypeReference<T>
TypeReference. createInstance(Class<T> clazz)
Methods in com.azure.core.util.serializer with parameters of type TypeReference Modifier and Type Method 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.
-