public final class CompressionCodecs extends Object
CompressionCodec
interface.Modifier and Type | Field | Description |
---|---|---|
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.
Copyright © 2019. All rights reserved.