cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1355437 - /cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/dom4j/DOM4JProvider.java
Date Fri, 29 Jun 2012 15:07:37 GMT
Author: sergeyb
Date: Fri Jun 29 15:07:36 2012
New Revision: 1355437

URL: http://svn.apache.org/viewvc?rev=1355437&view=rev
Log:
Updating DOM4JProvider to support text/xml

Modified:
    cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/dom4j/DOM4JProvider.java

Modified: cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/dom4j/DOM4JProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/dom4j/DOM4JProvider.java?rev=1355437&r1=1355436&r2=1355437&view=diff
==============================================================================
--- cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/dom4j/DOM4JProvider.java
(original)
+++ cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/dom4j/DOM4JProvider.java
Fri Jun 29 15:07:36 2012
@@ -35,8 +35,8 @@ import javax.ws.rs.ext.Providers;
 
 import org.apache.cxf.helpers.DOMUtils;
 
-@javax.ws.rs.Produces({"application/xml", "application/json" })
-@javax.ws.rs.Consumes({"application/xml", "application/json" })
+@javax.ws.rs.Produces({"application/xml", "text/xml", "application/json" })
+@javax.ws.rs.Consumes({"application/xml", "text/xml", "application/json" })
 public class DOM4JProvider implements MessageBodyReader<org.dom4j.Document>,
                 MessageBodyWriter<org.dom4j.Document> {
 



Mime
View raw message