Class QueryResponder

java.lang.Object
org.eclipse.rdf4j.http.server.readonly.QueryResponder

@Experimental @RestController public class QueryResponder extends Object
  • Constructor Details

    • QueryResponder

      @Autowired public QueryResponder(Repository repository)
  • Method Details

    • sparqlPostURLencoded

      @RequestMapping(value="/sparql", method=POST, consumes="application/x-www-form-urlencoded") public void sparqlPostURLencoded(@RequestParam(value="default-graph-uri",required=false) String defaultGraphUri, @RequestParam(value="named-graph-uri",required=false) String namedGraphUri, @RequestParam("query") String query, @RequestHeader("Accept") String acceptHeader, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException
    • sparqlGet

      @RequestMapping(value="/sparql", method=GET) public void sparqlGet(@RequestParam(value="default-graph-uri",required=false) String defaultGraphUri, @RequestParam(value="named-graph-uri",required=false) String namedGraphUri, @RequestParam("query") String query, @RequestHeader("Accept") String acceptHeader, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException