public final class CompressionCodecs
extends java.lang.Object
CompressionCodec
interface.限定符和类型 | 字段和说明 |
---|---|
static CompressionCodec |
DEFLATE
|
static CompressionCodec |
GZIP
Codec implementing the gzip compression algorithm.
|
public static final CompressionCodec DEFLATE
public static final CompressionCodec GZIP
This is not a standard JWA compression algorithm. Be sure to use this only when you are confident that all parties accessing the token support the gzip algorithm.
If you're concerned about compatibility, the DEFLATE
code is JWA standards-compliant.