/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.jena.fuseki;

import org.apache.jena.atlas.web.AcceptList ;
import org.apache.jena.atlas.web.MediaType ;
import org.apache.jena.riot.WebContent ;

public class DEF
{
    public static final MediaType acceptRDFXML        = MediaType.create(WebContent.contentTypeRDFXML) ;
    public static final MediaType acceptTurtle1       = MediaType.create(WebContent.contentTypeTurtle) ;
    public static final MediaType acceptTurtle2       = MediaType.create(WebContent.contentTypeTurtleAlt1) ;
    public static final MediaType acceptTurtle3       = MediaType.create(WebContent.contentTypeTurtleAlt2) ;
    public static final MediaType acceptNTriples      = MediaType.create(WebContent.contentTypeNTriples) ;
    public static final MediaType acceptNTriplesAlt   = MediaType.create(WebContent.contentTypeNTriplesAlt) ;
    public static final MediaType acceptTriG          = MediaType.create(WebContent.contentTypeTriG) ;
    public static final MediaType acceptTriGAlt1      = MediaType.create(WebContent.contentTypeTriGAlt1) ;
    public static final MediaType acceptTriGAlt2      = MediaType.create(WebContent.contentTypeTriGAlt2) ;
    public static final MediaType acceptNQuads        = MediaType.create(WebContent.contentTypeNQuads) ;
    public static final MediaType acceptNQuadsAlt1    = MediaType.create(WebContent.contentTypeNQuadsAlt1) ;
    public static final MediaType acceptNQuadsAlt2    = MediaType.create(WebContent.contentTypeNQuadsAlt2) ;
    public static final MediaType charsetUTF8         = MediaType.create(WebContent.charsetUTF8) ;
    
    public static final MediaType acceptRSXML         = MediaType.create(WebContent.contentTypeResultsXML) ;

    public static final AcceptList rdfOffer           = AcceptList.create(acceptRDFXML, acceptTurtle1, acceptTurtle2, acceptTurtle3, acceptNTriples, acceptNTriplesAlt) ;
    public static final AcceptList quadsOffer         = AcceptList.create(acceptNQuads, acceptNQuadsAlt1, acceptNQuadsAlt2, acceptTriG, acceptTriGAlt1, acceptTriGAlt2) ;
    public static final AcceptList charsetOffer       = AcceptList.create(charsetUTF8) ;
    
    public static final AcceptList rsOffer            = AcceptList.create(WebContent.contentTypeResultsXML, 
                                                                          WebContent.contentTypeResultsJSON,
                                                                          WebContent.contentTypeTextCSV,
                                                                          WebContent.contentTypeTextTSV,
                                                                          WebContent.contentTypeTextPlain) ;
    // New to WebContent - remove when update happens.
}

@@ -1939,32 +1939,139 @@
 TypeTriGAlt2) ;%0A
+    public static final MediaType acceptRDFJSON       = MediaType.create(WebContent.contentTypeRDFJSON) ; %0A
     public stati
@@ -2155,24 +2155,24 @@
 peNQuads) ;%0A
-
     public s
@@ -2683,86 +2683,326 @@
 ML, 
-acceptTurtle1, acceptTurtle2, acceptTurtle3, acceptNTriples, acceptNTriplesAlt
+%0A                                                                          acceptTurtle1, acceptTurtle2, acceptTurtle3, %0A                                                                          acceptNTriples, acceptNTriplesAlt, %0A                                                                          acceptRDFJSON
 ) ;%0A
@@ -3125,16 +3125,91 @@
 dsAlt2, 
+%0A                                                                          
 acceptTr

Add rdf/json to the accept offer for RDF results.