Class Output
java.lang.Object
dev.restate.sdk.core.generated.manifest.Output
OutputPayload
Description of an output payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanContent type set on output.If true, the specified content-type is set even if the output is empty.inthashCode()voidsetContentType(String contentType) Content type set on output.voidsetJsonSchema(Object jsonSchema) voidsetSetContentTypeIfEmpty(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
-