Package dev.restate.sdk.core.manifest
Class Output
java.lang.Object
dev.restate.sdk.core.manifest.Output
OutputPayload
Description of an output payload.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Content type set on output.If true, the specified content-type is set even if the output is empty.int
hashCode()
void
setContentType
(String contentType) Content type set on output.void
setJsonSchema
(Object jsonSchema) void
setSetContentTypeIfEmpty
(Boolean setContentTypeIfEmpty) If true, the specified content-type is set even if the output is empty.toString()
withContentType
(String contentType) withJsonSchema
(Object jsonSchema) withSetContentTypeIfEmpty
(Boolean setContentTypeIfEmpty)
-
Constructor Details
-
Output
public Output()
-
-
Method Details
-
getContentType
Content type set on output. This will be used by Restate to set the output content type at the ingress. -
setContentType
Content type set on output. This will be used by Restate to set the output content type at the ingress. -
withContentType
-
getSetContentTypeIfEmpty
If true, the specified content-type is set even if the output is empty. -
setSetContentTypeIfEmpty
If true, the specified content-type is set even if the output is empty. -
withSetContentTypeIfEmpty
-
getJsonSchema
-
setJsonSchema
-
withJsonSchema
-
toString
-
hashCode
public int hashCode() -
equals
-