Wow... ok. No clue how to do that. Guess I need to lookup custom request interceptor On Jan 26, 2015 5:49 PM, "Rob Vesse" <[email protected]> wrote:
> 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 > > > > >
