You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by gi...@apache.org on 2022/06/24 22:22:56 UTC

[jena-site] branch asf-staging updated: Staged site from main-next (6fc041f39080b670799fbc3f8d61b335ca12cda8)

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/jena-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new 40ee43e7c Staged site from main-next (6fc041f39080b670799fbc3f8d61b335ca12cda8)
40ee43e7c is described below

commit 40ee43e7cc30ff415bb80d80da365311b14db1c8
Author: jenkins <bu...@apache.org>
AuthorDate: Fri Jun 24 22:22:51 2022 +0000

    Staged site from main-next (6fc041f39080b670799fbc3f8d61b335ca12cda8)
---
 content/documentation/query/service.html     | 78 +++++++++++++++++++++++++++-
 content/documentation/sparql-apis/index.html | 18 ++-----
 content/sitemap.xml                          |  6 +--
 3 files changed, 84 insertions(+), 18 deletions(-)

diff --git a/content/documentation/query/service.html b/content/documentation/query/service.html
index b4c7daa9f..aeb8429c9 100644
--- a/content/documentation/query/service.html
+++ b/content/documentation/query/service.html
@@ -227,8 +227,84 @@ Don&rsquo;t ask for the whole of a bookstore just to find a book whose
 title comes from a local RDF file - ask the bookshop a query with
 the title already bound from earlier in the query.</p>
 <h2 id="controlling-service-requests">Controlling <code>SERVICE</code> requests.</h2>
-<p>The <code>SERVICE</code> operation in a SPARQL query may be configured via the Context. The values for configuration can be set in the global context (accessed via
+<p>The <code>SERVICE</code> operation in a SPARQL query may be configured via the Context.
+The values for configuration can be set in the global context (accessed via
 <code>ARQ.getContext()</code>) or in the per-query execution context.</p>
+<p>The prefix <code>arq:</code> is <code>&lt;http://jena.apache.org/ARQ#&gt;</code>.</p>
+<table>
+<thead>
+<tr>
+<th>Symbol</th>
+<th>Java Constant</th>
+<th>Default</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td><code>arq:httpServiceAllowed</code></td>
+<td><code>ARQ.httpServiceAllowed</code></td>
+<td>true</td>
+</tr>
+<tr>
+<td><code>arq:httpQueryClient</code></td>
+<td><code>ARQ.httpQueryClient</code></td>
+<td>System default.</td>
+</tr>
+<tr>
+<td><code>arq:httpServiceSendMode</code></td>
+<td>`ARQ.httpServiceSendMode | unset</td>
+<td></td>
+</tr>
+</tbody>
+</table>
+<h4 id="arqhttpserviceallowed"><code>arq:httpServiceAllowed</code></h4>
+<p>This setting can be used to disable execution of any SERVICE request in query.
+Set to &ldquo;false&rdquo; to prohibit SERVICE requests.</p>
+<h4 id="arqhttpqueryclient"><code>arq:httpQueryClient</code></h4>
+<p>The java.net.http HttpClient object to use for SERVICE execution.</p>
+<h4 id="arqhttpservicesendmode"><code>arq:httpServiceSendMode</code></h4>
+<p>The HTTP operation to use. The value is a string or a <code>QuerySendMode</code> object.</p>
+<p>String settings are:</p>
+<table>
+<thead>
+<tr>
+<th>Setting</th>
+<th>Effect</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>&ldquo;POST&rdquo;</td>
+<td>Use HTTP POST. Same as &ldquo;asPost&rdquo;.</td>
+</tr>
+<tr>
+<td>&ldquo;GET&rdquo;</td>
+<td>Use HTTP GET unconditionally. Same as &ldquo;asGetAlways&rdquo;.</td>
+</tr>
+<tr>
+<td>&ldquo;asGetAlways&rdquo;</td>
+<td>Use HTTP GET.</td>
+</tr>
+<tr>
+<td>&ldquo;asGetWithLimitBody&rdquo;</td>
+<td>Use HTTP GET upto a size limit (usually 2kbytes).</td>
+</tr>
+<tr>
+<td>&ldquo;asGetWithLimitForm&rdquo;</td>
+<td>Use HTTP GET upto a size limit (usually 2kbytes), and use a HTML form for the query.</td>
+</tr>
+<tr>
+<td>&ldquo;asPostForm&rdquo;</td>
+<td>Use HTTP POST and use an HTML form for the query.</td>
+</tr>
+<tr>
+<td>&ldquo;asPost&rdquo;</td>
+<td>Use HTTP POST.</td>
+</tr>
+</tbody>
+</table>
+<h2 id="old-context-setting">Old Context setting</h2>
+<p>Old settings are honored where possible but should not be used:</p>
 <p>The prefix  <code>srv:</code> is the IRI <code>&lt;http://jena.hpl.hp.com/Service#&gt;</code>.</p>
 <table>
 <thead>
diff --git a/content/documentation/sparql-apis/index.html b/content/documentation/sparql-apis/index.html
index ecb613d5a..8ba196127 100644
--- a/content/documentation/sparql-apis/index.html
+++ b/content/documentation/sparql-apis/index.html
@@ -440,7 +440,7 @@ authentication, has changed.</p>
 <h2 id="service-configuration">SERVICE configuration</h2>
 <p>See below for more on HTTP authentication with <code>SERVICE</code>.</p>
 <p>The configuration of <code>SERVICE</code> operations has changed in Jena 4.3.0 and the
-paramter names have changed.</p>
+parameter names have changed.</p>
 <table>
 <thead>
 <tr>
@@ -456,24 +456,14 @@ paramter names have changed.</p>
 <td>False to disable</td>
 </tr>
 <tr>
-<td><code>arq:serviceParams</code></td>
-<td><code>ARQ.serviceParams</code></td>
-<td>Map</td>
-</tr>
-<tr>
-<td><code>arq:httpQueryTimeout</code></td>
-<td><code>ARQ.httpQueryTimeout</code></td>
-<td>Request timeout (time to completion)</td>
-</tr>
-<tr>
 <td><code>arq:httpQueryClient</code></td>
 <td><code>ARQ.httpQueryCient</code></td>
 <td>An <code>java.net.http.HttpClient</code> object</td>
 </tr>
 <tr>
-<td><code>arq:httpQueryCompression</code></td>
-<td></td>
-<td>no-op</td>
+<td><code>arq:httpServiceSendMode</code></td>
+<td><code>ARQ.httpServiceSendMode</code></td>
+<td>See <a href="../query/service.html">Service documentation</a></td>
 </tr>
 </tbody>
 </table>
diff --git a/content/sitemap.xml b/content/sitemap.xml
index 823f82233..8df679150 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -104,7 +104,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation/sparql-apis/</loc>
-    <lastmod>2022-02-06T18:02:48+00:00</lastmod>
+    <lastmod>2022-06-24T14:57:51+01:00</lastmod>
   </url>
   
   <url>
@@ -129,7 +129,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation/query/service.html</loc>
-    <lastmod>2020-10-23T09:28:24+01:00</lastmod>
+    <lastmod>2022-06-24T14:57:51+01:00</lastmod>
   </url>
   
   <url>
@@ -324,7 +324,7 @@
   
   <url>
     <loc>https://jena.apache.org/documentation.html</loc>
-    <lastmod>2022-05-24T13:22:20+01:00</lastmod>
+    <lastmod>2022-06-24T14:57:51+01:00</lastmod>
   </url>
   
   <url>