data | Document. Data that you want the pub.compress:decompressData service to decompress. Specify data using one of the following keys. | ||
Key | Description | ||
bytes | byte[ ]. Optional. Data that you want the pub.compress:decompressData service to decompress. | ||
stream | java.io.InputStream. Optional. Data that you want the pub.compress:decompressData service to decompress. | ||
compressionScheme | String. The compression scheme you want the pub.compress:decompressData service to apply to decompress the data. The supported compression schemes are gzip and deflate. | ||
loadAs | String. Form in which you want the pub.compress:decompressData service to store the returned document. Set to: bytes to return the data as a byte[ ]. stream to return the data as a java.io.InputStream. |
decompressedData | Document. Decompressed data after applying the compression algorithm. | |
Key | Description | |
bytes | byte[ ]. Conditional. Decompressed data represented as a byte[ ]. bytes is returned only when the loadAs input parameter is set to bytes. | |
stream | java.io.InputStream. Conditional. The decompressed data represented as an InputStream. stream is returned only when the loadAs input parameter is set to stream. |