Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | Compress Folder | Summary of Elements in this Folder | pub.compress:decompressData
 
pub.compress:decompressData
WmPublic. Decompresses the data based on the response header of the HTTP response.
Input Parameters
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.
Output Parameters
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.