Uses of Class
com.azure.core.util.serializer.TypeReference
Packages that use TypeReference
Package
Description
Package containing core utility classes.
Package containing API for long running operations.
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 TypeReferenceModifier and TypeMethodDescription<T> TBinaryData.toObject(TypeReference<T> typeReference) Returns anObjectrepresentation of thisBinaryDataby deserializing its data using the defaultJsonSerializer.<T> TBinaryData.toObject(TypeReference<T> typeReference, ObjectSerializer serializer) Returns anObjectrepresentation of thisBinaryDataby deserializing its data using the passedObjectSerializer.<T> Mono<T>BinaryData.toObjectAsync(TypeReference<T> typeReference) Returns anObjectrepresentation of thisBinaryDataby deserializing its data using the defaultJsonSerializer.<T> Mono<T>BinaryData.toObjectAsync(TypeReference<T> typeReference, ObjectSerializer serializer) Returns anObjectrepresentation of thisBinaryDataby 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 TypeReferenceModifier and TypeMethodDescriptionstatic <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.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.DefaultPollingStrategy.getResult(PollingContext<T> context, TypeReference<U> resultType) LocationPollingStrategy.getResult(PollingContext<T> pollingContext, TypeReference<U> resultType) OperationResourcePollingStrategy.getResult(PollingContext<T> pollingContext, TypeReference<U> resultType) 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.StatusCheckPollingStrategy.getResult(PollingContext<T> pollingContext, TypeReference<U> resultType) ChainedPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus, and stores information useful for polling in thePollingContext.DefaultPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) LocationPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) OperationResourcePollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) PollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) Parses the initial response into aLongRunningOperationStatus, and stores information useful for polling in thePollingContext.StatusCheckPollingStrategy.onInitialResponse(Response<?> response, PollingContext<T> pollingContext, TypeReference<T> pollResponseType) 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.DefaultPollingStrategy.poll(PollingContext<T> context, TypeReference<T> pollResponseType) LocationPollingStrategy.poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) OperationResourcePollingStrategy.poll(PollingContext<T> pollingContext, TypeReference<T> pollResponseType) 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.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 TypeReferenceModifier and TypeMethodDescriptionstatic <T> TypeReference<T>TypeReference.createInstance(Class<T> clazz) Methods in com.azure.core.util.serializer with parameters of type TypeReferenceModifier and TypeMethodDescription<T> TJsonSerializer.deserialize(InputStream stream, TypeReference<T> typeReference) Reads a JSON stream into its object representation.<T> TObjectSerializer.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> TJsonSerializer.deserializeFromBytes(byte[] data, TypeReference<T> typeReference) Reads a JSON byte array into its object representation.default <T> TObjectSerializer.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.