CompressionAlgorithm to equal the RFC name for this concept.@Deprecated public interface CompressionCodec extends CompressionAlgorithm
"zip" identifier
CompressionCodec extends Identifiable; the value returned from
getId() will be used as the JWT
zip header value.
Jwts.ZIP.DEF,
Jwts.ZIP.GZIP| Modifier and Type | Method and Description |
|---|---|
byte[] |
compress(byte[] content)
Deprecated.
|
byte[] |
decompress(byte[] compressed)
Deprecated.
|
String |
getAlgorithmName()
Deprecated.
since 0.12.0 in favor of
Identifiable.getId() to ensure congruence with
all other identifiable algorithms. |
compress, decompressgetId@Deprecated String getAlgorithmName()
Identifiable.getId() to ensure congruence with
all other identifiable algorithms.zip header value.zip header value.@Deprecated byte[] compress(byte[] content) throws CompressionException
content - bytes to compressCompressionException - if the specified byte array cannot be compressed.@Deprecated byte[] decompress(byte[] compressed) throws CompressionException
compressed - compressed bytesCompressionException - if the specified byte array cannot be decompressed.Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.