Skip to content

/AWS1/CL_SGJSAMPLWTHRSPSTRMRSP

SampleWithResponseStreamResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_body TYPE /AWS1/SGJRESPONSESTREAM /AWS1/SGJRESPONSESTREAM

The streaming response body, delivered as a series of PayloadPart events.

Optional arguments:

iv_contenttype TYPE /AWS1/SGJSTRING /AWS1/SGJSTRING

MIME type of the streaming inference result.


Queryable Attributes

ContentType

MIME type of the streaming inference result.

Accessible with the following methods

Method Description
GET_CONTENTTYPE() Getter for CONTENTTYPE, with configurable default
ASK_CONTENTTYPE() Getter for CONTENTTYPE w/ exceptions if field has no value
HAS_CONTENTTYPE() Determine if CONTENTTYPE has a value

Body

The streaming response body, delivered as a series of PayloadPart events.

Accessible with the following methods

Method Description
GET_BODY() Getter for BODY, with configurable default
ASK_BODY() Getter for BODY w/ exceptions if field has no value
HAS_BODY() Determine if BODY has a value