The InboundJSONBind handler allows JSON requests to be received and JSON responses to be sent.
When the RECEIVE command of this content handler is executed the following steps occur:
The encoding of the content is assumed to be UTF-8.
Command | Keyword | Value | Developer notes |
|---|---|---|---|
RECEIVE | HANDLER | InboundJSONBind | |
CONTENT | Optional. See CONTENT. | ||
ARCHIVE | Optional. See ARCHIVE. |
RECEIVE HANDLER(InboundJSONBind)
When the SEND command of this content handler is executed the following steps occur:
The optional UAFILE and UAPATH keywords are available to inform the remote client program of a recommended path and filename for the content. LANSA Integrator UserAgent will add these file and path names to the save popup menu on the response panel.
Command | Keyword | Value | Developer notes |
|---|---|---|---|
SEND | HANDLER | InboundJSONBind | |
STATUS | value | Optional: HTTP status number. | |
MESSAGE | value | Optional: HTTP status message. | |
UAPATH | value | Optional. User agent save response path. | |
UAFILE | value | Optional. User agent save response filename. | |
UACACHE | value | Optional. Cache-Control max-age. | |
UADISPOSITION | value | Optional. Content-Disposition filename. | |
ARCHIVE | Optional. See ARCHIVE. |
SEND HANDLER(InboundJSONBind)