diff --git a/spring-web/src/main/java/org/springframework/http/codec/xml/Jaxb2XmlDecoder.java b/spring-web/src/main/java/org/springframework/http/codec/xml/Jaxb2XmlDecoder.java index cf81970e9b..1684874109 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/xml/Jaxb2XmlDecoder.java +++ b/spring-web/src/main/java/org/springframework/http/codec/xml/Jaxb2XmlDecoder.java @@ -82,6 +82,11 @@ public class Jaxb2XmlDecoder extends AbstractDecoder { super(MimeTypeUtils.APPLICATION_XML, MimeTypeUtils.TEXT_XML); } + /** + * Create a {@code Jaxb2XmlDecoder} with the specified MIME types. + * @param supportedMimeTypes supported MIME types + * @since 5.1.9 + */ public Jaxb2XmlDecoder(MimeType... supportedMimeTypes) { super(supportedMimeTypes); }