httpResponse | Document. Optional. Contains the HTTP response to be returned by Integration Server to the client. | ||
headers | Document List. Optional. Contains the header fields to set. Specify the following for each header that you want to set. | ||
Key | Description | ||
fieldName | String. Name of the header field to set. | ||
fieldValue | String. Value of the header field to set. | ||
responseCode | String. Optional. HTTP status code to be returned to the client. The response codes and phrases are defined in
https://tools.ietf.org/html/rfc7231#section-6. If you provide a value for responseCode that is not listed in RFC 7321, Section 6, you must also provide a value for reasonPhrase. | ||
reasonPhrase | String. Optional. HTTP reason phrase to be returned to the client. If no reason phrase is provided, the default reason phrase associated with responseCode is used. | ||
responseString | String. Optional. Response to be returned to the client, specified as a string. | ||
responseBytes | byte[ ]. Optional. Response to be returned to the client, specified as a byte array. | ||
responseStream | java.io.InputStream. Optional. Response to be returned to the client, specified as an InputStream. | ||
responseStreamTransferEncoding | String. Optional. When set to chunked, Integration Server uses chunked transfer encoding for the response and includes the Transfer-Encoding: chunked response header. Using this parameter lets you avoid OutOfMemoryExceptions when using large responseStreams. This parameter is used by Integration Server only if responseStream is not null. This parameter has no default value. To use it, set it to chunked. If responseStream is not null, and this variable is not set or is set to a value other than chunked, Integration Server reads the entire responseStream to calculate the content length. | ||
contentType | String. Optional. MIME type of the response data. By default, the server's response will match the MIME type of the request. This behavior can be overridden by using the contentType parameter. Note: If you explicitly set this value with Designer, you will see two choices: text/XML and text/HTML. You are not limited to these two values. Select one of these or provide a new value. | ||
encoding | String. Optional. Character set in which the response is encoded. |