We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5089824 commit 235858eCopy full SHA for 235858e
spring-web/src/main/java/org/springframework/http/codec/xml/Jaxb2XmlDecoder.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2019 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -82,6 +82,10 @@ public Jaxb2XmlDecoder() {
82
super(MimeTypeUtils.APPLICATION_XML, MimeTypeUtils.TEXT_XML);
83
}
84
85
+ public Jaxb2XmlDecoder(MimeType... supportedMimeTypes) {
86
+ super(supportedMimeTypes);
87
+ }
88
+
89
90
/**
91
* Configure a processor function to customize Unmarshaller instances.
0 commit comments