data | Document. Data that you want the pub.compress:compressData service to compress. Specify data using one of the following keys. Important: When you use more than one key, string is appended first, bytes is appended second, and stream is appended last and Integration Server uses the first key that it encounters. | ||
Key | Description | ||
string | String. Optional. Text that you want the pub.compress:compressData service to compress. | ||
bytes | byte[ ]. Optional. Data that you want the pub.compress:compressData service to compress. | ||
stream | java.io.InputStream. Optional. Data that you want the pub.compress:compressData service to compress. | ||
compressionScheme | String. The compression method you want the pub.compress:compressData service to apply to compress the data. The supported compression schemes are gzip and deflate. | ||
loadAs | String. Form in which you want the pub.compress:compressData service to store the output data. Set to: bytes to store the data as a byte[ ]. stream to store the data as a java.io.InputStream. |
compressedData | Document. Compressed data after applying the compression scheme. | |
Key | Description | |
bytes | byte[ ]. Conditional. Compressed data represented as a byte[ ]. bytes is returned only when the loadAs input parameter is set to bytes. | |
stream | java.io.InputStream. Conditional. Compressed data represented as an InputStream. stream is returned only when the loadAs input parameter is set to stream. |