Update CBOR Jackson codec Javadoc

See gh-20513
This commit is contained in:
Sébastien Deleuze
2026-01-06 18:26:26 +01:00
parent 97cd9dd03b
commit 253eb28458
4 changed files with 6 additions and 7 deletions
@@ -34,12 +34,12 @@ import org.springframework.util.MimeType;
/**
* Decode bytes into CBOR and convert to Object's with Jackson 2.x.
* Stream decoding is not supported yet.
*
* <p><a href="https://github.com/FasterXML/jackson-dataformats-binary/issues/110">Stream decoding is currently not supported</a>.
*
* @author Sebastien Deleuze
* @since 5.2
* @see Jackson2CborEncoder
* @see <a href="https://github.com/spring-projects/spring-framework/issues/20513">Add CBOR support to WebFlux</a>
* @deprecated since 7.0 in favor of {@link JacksonCborDecoder}
*/
@Deprecated(since = "7.0", forRemoval = true)
@@ -35,7 +35,8 @@ import org.springframework.util.MimeType;
/**
* Encode from an {@code Object} to bytes of CBOR objects using Jackson 2.x.
* Stream encoding is not supported yet.
*
* <p><a href="https://github.com/FasterXML/jackson-dataformats-binary/issues/110">Stream encoding is currently not supported</a>.
*
* @author Sebastien Deleuze
* @since 5.2
@@ -33,12 +33,11 @@ import org.springframework.util.MimeType;
/**
* Decode bytes into CBOR and convert to Objects with Jackson 3.x.
*
* <p>Stream decoding is currently not supported.
* <p><a href="https://github.com/FasterXML/jackson-dataformats-binary/issues/110">Stream decoding is currently not supported</a>.
*
* @author Sebastien Deleuze
* @since 7.0
* @see JacksonCborEncoder
* @see <a href="https://github.com/spring-projects/spring-framework/issues/20513">Add CBOR support to WebFlux</a>
*/
public class JacksonCborDecoder extends AbstractJacksonDecoder<CBORMapper> {
@@ -34,12 +34,11 @@ import org.springframework.util.MimeType;
/**
* Encode from an {@code Object} to bytes of CBOR objects using Jackson 3.x.
*
* <p>Stream encoding is currently not supported.
* <p><a href="https://github.com/FasterXML/jackson-dataformats-binary/issues/110">Stream encoding is currently not supported</a>.
*
* @author Sebastien Deleuze
* @since 7.0
* @see JacksonCborDecoder
* @see <a href="https://github.com/spring-projects/spring-framework/issues/20513">Add CBOR support to WebFlux</a>
*/
public class JacksonCborEncoder extends AbstractJacksonEncoder<CBORMapper> {