Skip to content

Commit 2eba010

Browse files
committed
Merge branch '5.1.x'
2 parents c32299f + 235858e commit 2eba010

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-web/src/main/java/org/springframework/http/codec/xml/Jaxb2XmlDecoder.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ public Jaxb2XmlDecoder() {
9191
super(MimeTypeUtils.APPLICATION_XML, MimeTypeUtils.TEXT_XML);
9292
}
9393

94+
public Jaxb2XmlDecoder(MimeType... supportedMimeTypes) {
95+
super(supportedMimeTypes);
96+
}
97+
9498

9599
/**
96100
* Configure a processor function to customize Unmarshaller instances.

0 commit comments

Comments
 (0)