Package-level declarations

Types

Link copied to clipboard
interface PayloadCodec
Payload codec.
Link copied to clipboard
interface Serde<T> : TypeTag<T>
Interface defining serialization and deserialization of concrete types.
Link copied to clipboard
interface SerdeFactory
This factory creates Serde that are used in various places of the SDK, notably:
  • To deserialize handler's input and deserialize the output
  • To serialize and deserialize state, awakeables, promises and so on
When using the Java APIs, a Jackson based implementation is used by default, see dev.restate.serde.jackson.
Link copied to clipboard
@ApiStatus.Internal
class SerdePipeline
Combines a SerdeFactory and a PayloadCodec: resolves the Serde from the TypeTag, then serializes and encodes, or decodes and deserializes, the values.
Link copied to clipboard
abstract class TypeRef<T> : TypeTag<T>
This generic abstract class is used for obtaining full generics type information by sub-classing.
Link copied to clipboard
interface TypeTag<T>
This interface is used by the serialization stack to carry types runtime information.