Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inefficient HttpClient in SPARQLClosedWorldIndividualRetriever #8

Open
TortugaAttack opened this issue Sep 7, 2021 · 1 comment
Open

Comments

@TortugaAttack
Copy link
Contributor

Move the ClosableHttpClient out of the SPARQLClosedWorldIndividualRetriever.createRequest and use it everytime to save time.
Also add a finally block consuming the entity, to assure that the request can be closed

@MichaelRoeder
Copy link
Member

Documentation and some examples can be found at http://hc.apache.org/httpcomponents-client-5.1.x/quickstart.html (other client versions can be found on the left side of the page).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants