clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1457906 - /clerezza/trunk/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/ResultSetMessageBodyWriter.java
Date Mon, 18 Mar 2013 18:32:51 GMT
Author: reto
Date: Mon Mar 18 18:32:51 2013
New Revision: 1457906

URL: http://svn.apache.org/r1457906
Log:
CLEREZZA-746: Added default media type as pointed out by Minto

Modified:
    clerezza/trunk/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/ResultSetMessageBodyWriter.java

Modified: clerezza/trunk/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/ResultSetMessageBodyWriter.java
URL: http://svn.apache.org/viewvc/clerezza/trunk/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/ResultSetMessageBodyWriter.java?rev=1457906&r1=1457905&r2=1457906&view=diff
==============================================================================
--- clerezza/trunk/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/ResultSetMessageBodyWriter.java
(original)
+++ clerezza/trunk/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/ResultSetMessageBodyWriter.java
Mon Mar 18 18:32:51 2013
@@ -66,7 +66,7 @@ import org.w3c.dom.Element;
 @Component
 @Service(Object.class)
 @Property(name="javax.ws.rs", boolValue=true)
-@Produces({"application/xml", "text/xml"})
+@Produces({"application/xml", "text/xml", "application/sparql-results+xml"})
 @Provider
 public class ResultSetMessageBodyWriter implements MessageBodyWriter<ResultSet> {
 



Mime
View raw message