Package org.apache.camel.support
Class GZIPHelper
java.lang.Object
org.apache.camel.support.GZIPHelper
Helper class to help wrapping content into GZIP input and output streams.
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamcompressGzip(String contentEncoding, byte[] data) static InputStreamcompressGzip(String contentEncoding, InputStream in) static byte[]compressGZIP(byte[] data) static booleanstatic booleanstatic booleanisGzip(org.apache.camel.Message message) static InputStreamuncompressGzip(String contentEncoding, InputStream in)
-
Method Details
-
uncompressGzip
- Throws:
IOException
-
compressGzip
- Throws:
IOException
-
compressGzip
- Throws:
IOException
-
compressGZIP
- Throws:
IOException
-
isGzip
public static boolean isGzip(org.apache.camel.Message message) -
isGzip
-
isGzip
-