Interface NullableObjectSerializer<T>
- All Superinterfaces:
Serializer<T>
- All Known Implementing Classes:
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
cloneObject, mimeType, 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
-