QueryEngineHTTP implements QueryExecution { public static String defaultSelectHeader() { return dftSelectContentTypeHeader ; } QueryEngineHTTP(String serviceURI, Query query);  QueryEngineHTTP(String serviceURI, Query query, HttpClient client);  QueryEngineHTTP(String serviceURI, Query query, HttpClient client, HttpContext httpContext);  QueryEngineHTTP(String serviceURI, String queryString);  QueryEngineHTTP(String serviceURI, String queryString, HttpClient client);  QueryEngineHTTP(String serviceURI, String queryString, HttpClient client, HttpContext httpContext); private  QueryEngineHTTP(String serviceURI, Query query, String queryString, HttpClient client, HttpContext httpContext); @Override void setInitialBinding(QuerySolution binding); @Override void setInitialBinding(Binding binding); void setDefaultGraphURIs(List<String> defaultGraphURIs); void setNamedGraphURIs(List<String> namedGraphURIs); void setAllowCompression(boolean allowed); void addParam(String field, String value); void addDefaultGraph(String defaultGraph); void addNamedGraph(String name); void setClient(HttpClient client); HttpClient getClient(); void setHttpContext(HttpContext context); HttpContext getHttpContext(); String getHttpResponseContentType(); @Override ResultSet execSelect(); @Override Model execConstruct(); @Override Model execConstruct(Model model); @Override Iterator<Triple> execConstructTriples(); @Override Iterator<Quad> execConstructQuads(); @Override Dataset execConstructDataset(); @Override Dataset execConstructDataset(Dataset dataset); @Override Model execDescribe(); @Override Model execDescribe(Model model); @Override Iterator<Triple> execDescribeTriples(); @Override boolean execAsk(); @Override JsonArray execJson(); @Override Iterator<JsonObject> execJsonItems(); @Override Context getContext(); @Override Dataset getDataset(); @Override Query getQuery(); String getQueryString(); @Override void setTimeout(long readTimeout); @Override void setTimeout(long readTimeout, long connectTimeout); @Override void setTimeout(long readTimeout, TimeUnit timeoutUnits); @Override void setTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2); @Override long getTimeout1(); @Override long getTimeout2(); boolean getAllowCompression(); void cancel(); @Override void abort(); @Override void close(); @Override boolean isClosed(); @Override String toString(); void setSelectContentType(String contentType); void setAskContentType(String contentType); void setModelContentType(String contentType); void setDatasetContentType(String contentType); static String defaultSelectHeader(); static String defaultAskHeader(); static String defaultConstructHeader(); static String defaultConstructDatasetHeader(); String getAcceptHeader(); void setAcceptHeader(String acceptHeader); static final String QUERY_MIME_TYPE; static String[] supportedSelectContentTypes; static String[] supportedAskContentTypes; }
@Test public void selectHeader_01() { test(QueryEngineHTTP.defaultSelectHeader(), WebContent.contentTypeResultsJSON) ; }
@Test public void selectHeader_02() { test(QueryEngineHTTP.defaultSelectHeader(), WebContent.contentTypeResultsXML) ; }
@Test public void selectHeader_03() { test(QueryEngineHTTP.defaultSelectHeader(), WebContent.contentTypeTextTSV) ; }
@Test public void askHeader_01() { test(QueryEngineHTTP.defaultSelectHeader(), WebContent.contentTypeResultsJSON) ; }
@Test public void askHeader_02() { test(QueryEngineHTTP.defaultSelectHeader(), WebContent.contentTypeResultsXML) ; }