Package dev.restate.sdk.annotation
package dev.restate.sdk.annotation
-
Annotation InterfacesClassDescriptionDefine the acceptable content type.Define the custom
SerdeFactory
to use for this service/virtual object/workflow.Defines a method as an exclusive handler, as opposed toShared
handlers.Annotate a method as Restate handler.Serialize/Deserialize the annotated element as JsonName of the service/handler for Restate.Skip serialization/deserialization of the annotated element.Annotation to define a class/interface as Restate Service.Defines a method as a Shared handler.Annotation to define a class/interface as Restate VirtualObject.Annotation to define a class/interface as Restate Workflow.