Github user afs commented on the issue:
https://github.com/apache/jena/pull/151
Should we take a step back and reconsider whether updating the current API
in HttpOp is the right thing to do.
Maybe we ought to
* introduce a different style more fluid
* reconsider a design where the caller is responsible for setting up more
of the `HttpClient` and `HttpOp` provides operations for nothing special (no
auth) + ops that use a redefined `HttpClient`. This is to reduce method bloat.
On (1): something like (quick sketch)
HttpOp.get("http://example/")
.setAccept("application/rdf-xml") // Override default
.setHttpClientBuilder(....) // Usually no needed, for special
setup only
.exec() ;
where there are implicit builder objects from, `.get(url)`, `.post(url)`,
`.put(url)`, `'delete(url)`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---