Package io.dapr.serializer
Class CustomizableObjectSerializer
java.lang.Object
io.dapr.client.ObjectSerializer
io.dapr.serializer.CustomizableObjectSerializer
- All Implemented Interfaces:
DaprObjectSerializer
-
Field Summary
Fields inherited from class io.dapr.client.ObjectSerializer
OBJECT_MAPPER -
Constructor Summary
ConstructorsConstructorDescriptionCustomizableObjectSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionReturns the content type of the request.com.fasterxml.jackson.databind.ObjectMapperMethods inherited from class io.dapr.client.ObjectSerializer
deserialize, deserialize, parseNode, serializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.dapr.serializer.DaprObjectSerializer
deserialize, serialize
-
Constructor Details
-
CustomizableObjectSerializer
public CustomizableObjectSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()- Overrides:
getObjectMapperin classObjectSerializer
-
getContentType
Description copied from interface:DaprObjectSerializerReturns the content type of the request.- Specified by:
getContentTypein interfaceDaprObjectSerializer- Returns:
- content type of the request
-