public class GrpcSerializedObject extends Object implements SerializedObject<byte[]>
SerializedObject message as a SerializedObject.| Constructor and Description |
|---|
GrpcSerializedObject(io.axoniq.axonserver.grpc.SerializedObject serializedObject)
|
| Modifier and Type | Method and Description |
|---|---|
Class<byte[]> |
getContentType()
Returns the type of this representation's data.
|
byte[] |
getData()
The actual data of the serialized object.
|
SerializedType |
getType()
Returns the description of the type of object contained in the data.
|
public GrpcSerializedObject(io.axoniq.axonserver.grpc.SerializedObject serializedObject)
serializedObject - a SerializedObject which will be wrapped as a SerializedObjectpublic Class<byte[]> getContentType()
SerializedObjectgetContentType in interface SerializedObject<byte[]>public SerializedType getType()
SerializedObjectgetType in interface SerializedObject<byte[]>public byte[] getData()
SerializedObjectgetData in interface SerializedObject<byte[]>Copyright © 2010–2023. All rights reserved.