Interface NullableObjectSerializer<T>
- All Superinterfaces:
Serializer<T>
- All Known Implementing Classes:
ToolExecutionRequestSerializer,ToolExecutionResultMessageSerializer,UserMessageSerializer
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidwriteNullableObject(Object object, ObjectOutput out) default voidwriteNullableUTF(String object, ObjectOutput out) Methods inherited from interface org.bsc.langgraph4j.serializer.Serializer
bytesToObject, cloneObject, contentType, objectToBytes, read, readObject, write, writeObject
-
Method Details
-
writeNullableObject
- Throws:
IOException
-
readNullableObject
default Optional<Object> readNullableObject(ObjectInput in) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
writeNullableUTF
- Throws:
IOException
-
readNullableUTF
- Throws:
IOException
-