public final class GZIPHelper extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
compressGZIP(byte[] data) |
static InputStream |
compressGzip(String contentEncoding,
byte[] data) |
static InputStream |
compressGzip(String contentEncoding,
InputStream in) |
static boolean |
isGzip(Message message) |
static boolean |
isGzip(String header) |
static boolean |
isGzip(String header,
Exchange exchange) |
static InputStream |
uncompressGzip(String contentEncoding,
InputStream in) |
public static InputStream uncompressGzip(String contentEncoding, InputStream in) throws IOException
IOException
public static InputStream compressGzip(String contentEncoding, InputStream in) throws IOException
IOException
public static InputStream compressGzip(String contentEncoding, byte[] data) throws IOException
IOException
public static byte[] compressGZIP(byte[] data) throws IOException
IOException
public static boolean isGzip(Message message)
public static boolean isGzip(String header)
Apache Camel