CompressionFormat Property

The compression format (if any) to use.

Syntax

public int getCompressionFormat();
public void setCompressionFormat(int compressionFormat);

Enumerated values: public final static int cfNone = 0; public final static int cfZLIB = 1;

Default Value

0

Remarks

By default, outgoing data will not be compressed. Setting this property will instruct the class to compress the outgoing data using the indicated format.

Compression is highly recommended for large messages, as it will reduce network bandwidth and processing time required.

The compression algorithm used is Zlib, as required by RFC 3274 and defined in RFCs 1950 and 1951.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8203]