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 InputStream
compressGzip
(String contentEncoding, byte[] data) static InputStream
compressGzip
(String contentEncoding, InputStream in) static byte[]
compressGZIP
(byte[] data) static boolean
static boolean
static boolean
isGzip
(org.apache.camel.Message message) static InputStream
uncompressGzip
(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
-