Interface NullableObjectSerializer<T>
- All Superinterfaces:
Serializer<T>
- All Known Implementing Classes:
ToolExecutionRequestSerializer
,ToolExecutionResultMessageSerializer
,UserMessageSerializer
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
writeNullableObject
(Object object, ObjectOutput out) default void
writeNullableUTF
(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:
IOException
ClassNotFoundException
-
writeNullableUTF
- Throws:
IOException
-
readNullableUTF
- Throws:
IOException
-