public final class GrpcMetaDataAwareSerializer extends Object implements org.axonframework.serialization.Serializer
| Constructor and Description |
|---|
GrpcMetaDataAwareSerializer(org.axonframework.serialization.Serializer delegate)
Constructs a
GrpcMetaDataAwareSerializer, using the given delegate to delegate serialization to |
| Modifier and Type | Method and Description |
|---|---|
<T> boolean |
canSerializeTo(Class<T> expectedRepresentation) |
Class |
classForType(org.axonframework.serialization.SerializedType type) |
<S,T> T |
deserialize(org.axonframework.serialization.SerializedObject<S> serializedObject) |
boolean |
equals(Object o) |
org.axonframework.serialization.Converter |
getConverter() |
int |
hashCode() |
<T> org.axonframework.serialization.SerializedObject<T> |
serialize(Object object,
Class<T> expectedRepresentation) |
org.axonframework.serialization.SerializedType |
typeForClass(Class type) |
public GrpcMetaDataAwareSerializer(org.axonframework.serialization.Serializer delegate)
GrpcMetaDataAwareSerializer, using the given delegate to delegate serialization todelegate - the Serializer to delegate serialization topublic <T> org.axonframework.serialization.SerializedObject<T> serialize(Object object, @Nonnull Class<T> expectedRepresentation)
serialize in interface org.axonframework.serialization.Serializerpublic <T> boolean canSerializeTo(@Nonnull Class<T> expectedRepresentation)
canSerializeTo in interface org.axonframework.serialization.Serializerpublic <S,T> T deserialize(@Nonnull org.axonframework.serialization.SerializedObject<S> serializedObject)
deserialize in interface org.axonframework.serialization.Serializerpublic Class classForType(@Nonnull org.axonframework.serialization.SerializedType type)
classForType in interface org.axonframework.serialization.Serializerpublic org.axonframework.serialization.SerializedType typeForClass(Class type)
typeForClass in interface org.axonframework.serialization.Serializerpublic org.axonframework.serialization.Converter getConverter()
getConverter in interface org.axonframework.serialization.SerializerCopyright © 2010–2024. All rights reserved.