Package org.apache.cxf.common.util
Class CompressionUtils
java.lang.Object
org.apache.cxf.common.util.CompressionUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]deflate(byte[] tokenBytes) static byte[]deflate(byte[] tokenBytes, boolean nowrap) static byte[]deflate(byte[] tokenBytes, int level, boolean nowrap) static InputStreaminflate(byte[] deflatedToken) static InputStreaminflate(byte[] deflatedToken, boolean nowrap) static InputStreaminflate(byte[] deflatedToken, boolean nowrap, long maxInflatedSize)
-
Field Details
-
DEFAULT_MAX_INFLATED_SIZE
public static final long DEFAULT_MAX_INFLATED_SIZE
-
-
Method Details
-
inflate
- Throws:
DataFormatException
-
inflate
- Throws:
DataFormatException
-
inflate
public static InputStream inflate(byte[] deflatedToken, boolean nowrap, long maxInflatedSize) throws DataFormatException - Throws:
DataFormatException
-
deflate
public static byte[] deflate(byte[] tokenBytes) -
deflate
public static byte[] deflate(byte[] tokenBytes, boolean nowrap) -
deflate
public static byte[] deflate(byte[] tokenBytes, int level, boolean nowrap)
-