public final class CompressionCodecs extends Object
CompressionCodec
interface.Modifier and Type | Field and Description |
---|---|
static CompressionCodec |
DEFLATE
|
static CompressionCodec |
GZIP
Codec implementing the gzip compression algorithm.
|
public static final CompressionCodec DEFLATE
public static final CompressionCodec GZIP
Compatibility Warning
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.
Copyright © 2014–2022 jsonwebtoken.io. All rights reserved.