Yes though not in any particular user friendly way

The only way you can do it currently is by using the HttpAuthenticator
subsystem (https://jena.apache.org/documentation/query/http-auth.html) and
passing an instance of a custom authenticator that you wrote yourself to
the QueryExecutionFactory.sparqlService() call

The custom authenticator could take the AbstractHttpClient instance it
receives and add a request interceptor that would add in the necessary
headers to the outgoing requests though would need to be careful not to
register itself multiple times since client instances can be reused.

Rob

On 26/01/2015 13:01, "Trevor Donaldson" <[email protected]> wrote:

>I would like to add some Http Headers to the request that is made by
>QueryExecutionFactory.sparqlService. Is this possible? Thanks




Reply via email to