Uses of Class
io.dapr.utils.TypeRef
Package
Description
-
Uses of TypeRef in io.dapr.actors.client
Modifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T>
ActorProxy.invokeMethod
(String methodName, TypeRef<T> type) Invokes an Actor method on Dapr.<T> reactor.core.publisher.Mono<T>
ActorProxy.invokeMethod
(String methodName, Object data, TypeRef<T> type) Invokes an Actor method on Dapr. -
Uses of TypeRef in io.dapr.actors.runtime
-
Uses of TypeRef in io.dapr.client
Modifier and TypeMethodDescription<T> T
ObjectSerializer.deserialize
(byte[] content, TypeRef<T> type) Deserializes the byte array into the original object.DaprClient.getBulkState
(GetBulkStateRequest request, TypeRef<T> type) Retrieve bulk States based on their keys.DaprClient.getBulkState
(String storeName, List<String> keys, TypeRef<T> type) Retrieve bulk States based on their keys.DaprClientImpl.getBulkState
(GetBulkStateRequest request, TypeRef<T> type) Retrieve bulk States based on their keys.<T> reactor.core.publisher.Mono<State<T>>
DaprClient.getState
(GetStateRequest request, TypeRef<T> type) Retrieve a State based on their key.<T> reactor.core.publisher.Mono<State<T>>
Retrieve a State based on their key.<T> reactor.core.publisher.Mono<State<T>>
DaprClient.getState
(String storeName, String key, StateOptions options, TypeRef<T> type) Retrieve a State based on their key.<T> reactor.core.publisher.Mono<State<T>>
Retrieve a State based on their key.<T> reactor.core.publisher.Mono<State<T>>
DaprClientImpl.getState
(GetStateRequest request, TypeRef<T> type) Retrieve a State based on their key.<T> reactor.core.publisher.Mono<T>
DaprClient.invokeBinding
(InvokeBindingRequest request, TypeRef<T> type) Invokes a Binding operation.<T> reactor.core.publisher.Mono<T>
DaprClient.invokeBinding
(String bindingName, String operation, Object data, TypeRef<T> type) Invokes a Binding operation.<T> reactor.core.publisher.Mono<T>
DaprClient.invokeBinding
(String bindingName, String operation, Object data, Map<String, String> metadata, TypeRef<T> type) Invokes a Binding operation.<T> reactor.core.publisher.Mono<T>
DaprClientImpl.invokeBinding
(InvokeBindingRequest request, TypeRef<T> type) Invokes a Binding operation.<T> reactor.core.publisher.Mono<T>
DaprClient.invokeMethod
(InvokeMethodRequest invokeMethodRequest, TypeRef<T> type) Invoke a service method.<T> reactor.core.publisher.Mono<T>
DaprClient.invokeMethod
(String appId, String methodName, HttpExtension httpExtension, Map<String, String> metadata, TypeRef<T> type) Invoke a service method, using serialization.<T> reactor.core.publisher.Mono<T>
DaprClient.invokeMethod
(String appId, String methodName, Object request, HttpExtension httpExtension, TypeRef<T> type) Invoke a service method, using serialization.<T> reactor.core.publisher.Mono<T>
DaprClient.invokeMethod
(String appId, String methodName, Object data, HttpExtension httpExtension, Map<String, String> metadata, TypeRef<T> type) Invoke a service method, using serialization.<T> reactor.core.publisher.Mono<T>
DaprClientImpl.invokeMethod
(InvokeMethodRequest invokeMethodRequest, TypeRef<T> type) <T> reactor.core.publisher.Mono<QueryStateResponse<T>>
DaprClientImpl.queryState
(QueryStateRequest request, TypeRef<T> type) Query for states using a query request.<T> reactor.core.publisher.Mono<QueryStateResponse<T>>
DaprPreviewClient.queryState
(QueryStateRequest request, TypeRef<T> type) Query for states using a query request.<T> reactor.core.publisher.Mono<QueryStateResponse<T>>
DaprPreviewClient.queryState
(String storeName, Query query, TypeRef<T> type) Query for states using a query domain object.<T> reactor.core.publisher.Mono<QueryStateResponse<T>>
DaprPreviewClient.queryState
(String storeName, Query query, Map<String, String> metadata, TypeRef<T> type) Query for states using a query domain object.<T> reactor.core.publisher.Mono<QueryStateResponse<T>>
DaprPreviewClient.queryState
(String storeName, String query, TypeRef<T> type) Query for states using a query string.<T> reactor.core.publisher.Mono<QueryStateResponse<T>>
DaprPreviewClient.queryState
(String storeName, String query, Map<String, String> metadata, TypeRef<T> type) Query for states using a query string. -
Uses of TypeRef in io.dapr.exceptions
Modifier and TypeMethodDescription<T> T
DaprErrorDetails.get
(DaprErrorDetails.ErrorDetailType errorDetailType, String errAttribute, TypeRef<T> typeRef) Gets an attribute of an error detail. -
Uses of TypeRef in io.dapr.serializer
Modifier and TypeMethodDescription<T> T
DaprObjectSerializer.deserialize
(byte[] data, TypeRef<T> type) Deserializes the given byte[] into a object.<T> T
DefaultObjectSerializer.deserialize
(byte[] data, TypeRef<T> type) Deserializes the byte array into the original object. -
Uses of TypeRef in io.dapr.utils
Modifier and TypeFieldDescriptionTypeRef.BOOLEAN
TypeRef.BYTE
static final TypeRef<byte[]>
TypeRef.BYTE_ARRAY
TypeRef.CHAR
TypeRef.DOUBLE
TypeRef.FLOAT
TypeRef.INT
static final TypeRef<int[]>
TypeRef.INT_ARRAY
TypeRef.LONG
TypeRef.SHORT
TypeRef.STRING
TypeRef.STRING_ARRAY
TypeRef.VOID
Modifier and TypeMethodDescriptionstatic <T> TypeRef<T>
Creates a reference to a given class type.static <T> TypeRef<T>
Creates a reference to a given class type.Modifier and TypeMethodDescriptionstatic <T> T
DefaultContentTypeConverter.convertBytesToEventFromGrpc
(byte[] event, String contentType, TypeRef<T> typeRef) Function to convert a bytes array from gRPC input into event based on given object deserializer.static <T> T
DefaultContentTypeConverter.convertBytesToEventFromHttp
(byte[] event, String contentType, TypeRef<T> typeRef) Function to convert a bytes array from HTTP input into event based on given object deserializer.static <T> boolean
TypeRef.isPrimitive
(TypeRef<T> typeRef) Checks if the given TypeRef is of a primitive type Similar to implementation of deserializePrimitives in the classObjectSerializer
It considers only those types as primitives.