You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2018/08/31 12:05:02 UTC

[12/27] jena git commit: Use the connection's httpClient and httpContext for fetchDataset().

Use the connection's httpClient and httpContext for fetchDataset().

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/dfa40be2
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/dfa40be2
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/dfa40be2

Branch: refs/heads/master
Commit: dfa40be260e8e604223693f25d93ea3dc675b7c5
Parents: 09f0e8b
Author: Andy Seaborne <an...@apache.org>
Authored: Fri Aug 24 12:03:32 2018 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Fri Aug 24 12:03:32 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/jena/rdfconnection/RDFConnectionRemote.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/dfa40be2/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java
----------------------------------------------------------------------
diff --git a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java
index 7570daf..7f730c9 100644
--- a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java
+++ b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java
@@ -421,7 +421,7 @@ public class RDFConnectionRemote implements RDFConnection {
             throw new ARQException("Dataset operations not available - no dataset URL provided"); 
         Dataset ds = DatasetFactory.createTxnMem();
         Txn.executeWrite(ds, ()->{
-            TypedInputStream s = exec(()->HttpOp.execHttpGet(destination, acceptDataset));
+            TypedInputStream s = exec(()->HttpOp.execHttpGet(destination, acceptDataset, this.httpClient, this.httpContext));
             Lang lang = RDFLanguages.contentTypeToLang(s.getContentType());
             RDFDataMgr.read(ds, s, lang);
         });