diff --git a/src/main/java/io/jsonwebtoken/CompressionCodec.java b/src/main/java/io/jsonwebtoken/CompressionCodec.java index 12264f22..b1b3dd6c 100644 --- a/src/main/java/io/jsonwebtoken/CompressionCodec.java +++ b/src/main/java/io/jsonwebtoken/CompressionCodec.java @@ -20,7 +20,7 @@ package io.jsonwebtoken; * * @see io.jsonwebtoken.impl.compression.DeflateCompressionCodec * @see io.jsonwebtoken.impl.compression.GzipCompressionCodec - * @since 0.5.2 + * @since 0.6.0 */ public interface CompressionCodec { diff --git a/src/main/java/io/jsonwebtoken/CompressionCodecResolver.java b/src/main/java/io/jsonwebtoken/CompressionCodecResolver.java index 54d3c7fc..afb2e82a 100644 --- a/src/main/java/io/jsonwebtoken/CompressionCodecResolver.java +++ b/src/main/java/io/jsonwebtoken/CompressionCodecResolver.java @@ -29,7 +29,7 @@ package io.jsonwebtoken; * {@link io.jsonwebtoken.JwtBuilder#compressWith(CompressionCodec) building} and * {@link io.jsonwebtoken.JwtParser#setCompressionCodecResolver(CompressionCodecResolver) parsing} JWTs.
* - * @since 0.5.2 + * @since 0.6.0 */ public interface CompressionCodecResolver { diff --git a/src/main/java/io/jsonwebtoken/CompressionException.java b/src/main/java/io/jsonwebtoken/CompressionException.java index d4ac62d3..287ccfb0 100644 --- a/src/main/java/io/jsonwebtoken/CompressionException.java +++ b/src/main/java/io/jsonwebtoken/CompressionException.java @@ -18,7 +18,7 @@ package io.jsonwebtoken; /** * Exception indicating that either compressing or decompressing an JWT body failed. * - * @since 0.5.2 + * @since 0.6.0 */ public class CompressionException extends JwtException { diff --git a/src/main/java/io/jsonwebtoken/Header.java b/src/main/java/io/jsonwebtoken/Header.java index 81068c73..840d26de 100644 --- a/src/main/java/io/jsonwebtoken/Header.java +++ b/src/main/java/io/jsonwebtoken/Header.java @@ -107,7 +107,7 @@ public interface Headercalg
(Compression Algorithm) header value or {@code null} if not present.
*
* @return the {@code calg} header parameter value or {@code null} if not present.
- * @since 0.5.2
+ * @since 0.6.0
*/
String getCompressionAlgorithm();
@@ -120,7 +120,7 @@ public interface HeaderWARNING: Compression is not defined by the JWT Specification, and it is not expected that other libraries - * (including JJWT versions < 0.5.2) are able to consume a compressed JWT body correctly. Only use this method - * if you are sure that you will consume the JWT with JJWT >= 0.5.2 or another library that you know implements + * (including JJWT versions < 0.6.0) are able to consume a compressed JWT body correctly. Only use this method + * if you are sure that you will consume the JWT with JJWT >= 0.6.0 or another library that you know implements * the same behavior.
* * @see io.jsonwebtoken.impl.compression.CompressionCodecs * * @param codec implementation of the {@link CompressionCodec} to be used. * @return the builder for method chaining. - * @since 0.5.2 + * @since 0.6.0 */ JwtBuilder compressWith(CompressionCodec codec); diff --git a/src/main/java/io/jsonwebtoken/JwtParser.java b/src/main/java/io/jsonwebtoken/JwtParser.java index 88daf131..11e8a5f6 100644 --- a/src/main/java/io/jsonwebtoken/JwtParser.java +++ b/src/main/java/io/jsonwebtoken/JwtParser.java @@ -209,8 +209,8 @@ public interface JwtParser { * Sets the {@link CompressionCodecResolver} used to acquire the {@link CompressionCodec} that should be used to * decompress the JWT body. If the parsed JWT is not compressed, this resolver is not used. *NOTE: Compression is not defined by the JWT Specification, and it is not expected that other libraries - * (including JJWT versions < 0.5.2) are able to consume a compressed JWT body correctly. This method is only - * useful if the compact JWT was compressed with JJWT >= 0.5.2 or another library that you know implements + * (including JJWT versions < 0.6.0) are able to consume a compressed JWT body correctly. This method is only + * useful if the compact JWT was compressed with JJWT >= 0.6.0 or another library that you know implements * the same behavior.
*JJWT's default {@link JwtParser} implementation supports both the @@ -223,7 +223,7 @@ public interface JwtParser { * * @param compressionCodecResolver the compression codec resolver used to decompress the JWT body. * @return the parser for method chaining. - * @since 0.5.2 + * @since 0.6.0 */ JwtParser setCompressionCodecResolver(CompressionCodecResolver compressionCodecResolver); diff --git a/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionCodec.java b/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionCodec.java index 9457b68b..e1b2e653 100644 --- a/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionCodec.java +++ b/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionCodec.java @@ -24,7 +24,7 @@ import java.io.IOException; /** * Abstract class that asserts arguments and wraps IOException with CompressionException. * - * @since 0.5.2 + * @since 0.6.0 */ public abstract class AbstractCompressionCodec implements CompressionCodec { diff --git a/src/main/java/io/jsonwebtoken/impl/compression/CompressionCodecs.java b/src/main/java/io/jsonwebtoken/impl/compression/CompressionCodecs.java index f81721cd..19a5f293 100644 --- a/src/main/java/io/jsonwebtoken/impl/compression/CompressionCodecs.java +++ b/src/main/java/io/jsonwebtoken/impl/compression/CompressionCodecs.java @@ -23,7 +23,7 @@ import io.jsonwebtoken.CompressionCodec; * @see #DEFLATE * @see #GZIP * - * @since 0.5.2 + * @since 0.6.0 */ public final class CompressionCodecs { diff --git a/src/main/java/io/jsonwebtoken/impl/compression/DefaultCompressionCodecResolver.java b/src/main/java/io/jsonwebtoken/impl/compression/DefaultCompressionCodecResolver.java index 159a6f44..fb32c1c6 100644 --- a/src/main/java/io/jsonwebtoken/impl/compression/DefaultCompressionCodecResolver.java +++ b/src/main/java/io/jsonwebtoken/impl/compression/DefaultCompressionCodecResolver.java @@ -41,7 +41,7 @@ import io.jsonwebtoken.lang.Strings; * * @see DeflateCompressionCodec * @see GzipCompressionCodec - * @since 0.5.2 + * @since 0.6.0 */ public class DefaultCompressionCodecResolver implements CompressionCodecResolver { diff --git a/src/main/java/io/jsonwebtoken/impl/compression/DeflateCompressionCodec.java b/src/main/java/io/jsonwebtoken/impl/compression/DeflateCompressionCodec.java index 90ee9dbc..9f76970b 100644 --- a/src/main/java/io/jsonwebtoken/impl/compression/DeflateCompressionCodec.java +++ b/src/main/java/io/jsonwebtoken/impl/compression/DeflateCompressionCodec.java @@ -26,7 +26,7 @@ import java.util.zip.InflaterOutputStream; /** * Codec implementing the deflate compression algorithm. * - * @since 0.5.2 + * @since 0.6.0 */ public class DeflateCompressionCodec extends AbstractCompressionCodec { diff --git a/src/main/java/io/jsonwebtoken/impl/compression/GzipCompressionCodec.java b/src/main/java/io/jsonwebtoken/impl/compression/GzipCompressionCodec.java index f15531e1..19bf7e20 100644 --- a/src/main/java/io/jsonwebtoken/impl/compression/GzipCompressionCodec.java +++ b/src/main/java/io/jsonwebtoken/impl/compression/GzipCompressionCodec.java @@ -27,7 +27,7 @@ import java.util.zip.GZIPOutputStream; /** * Codec implementing the gzip compression algorithm. * - * @since 0.5.2 + * @since 0.6.0 */ public class GzipCompressionCodec extends AbstractCompressionCodec implements CompressionCodec { diff --git a/src/test/groovy/io/jsonwebtoken/impl/compression/AbstractCompressionCodecTest.groovy b/src/test/groovy/io/jsonwebtoken/impl/compression/AbstractCompressionCodecTest.groovy index dc497c37..a1e17436 100644 --- a/src/test/groovy/io/jsonwebtoken/impl/compression/AbstractCompressionCodecTest.groovy +++ b/src/test/groovy/io/jsonwebtoken/impl/compression/AbstractCompressionCodecTest.groovy @@ -20,7 +20,7 @@ import io.jsonwebtoken.CompressionException import org.junit.Test /** - * @since 0.5.2 + * @since 0.6.0 */ class AbstractCompressionCodecTest { static class ExceptionThrowingCodec extends AbstractCompressionCodec {