Package org.eclipse.rdf4j.http.client
Interface HttpClientSessionManager
- All Known Implementing Classes:
SharedHttpClientSessionManager
public interface HttpClientSessionManager
Manager for remote HTTP sessions using a
HttpClient
.- Author:
- James Leigh
-
Method Summary
Modifier and TypeMethodDescriptioncreateRDF4JProtocolSession
(String serverURL) Creates a new session to the remote RDF4J REST API.createSPARQLProtocolSession
(String queryEndpointUrl, String updateEndpointUrl) Creates a new SPARQL Protocol session to the remote SPARQL endpoint.org.apache.http.client.HttpClient
void
shutDown()
Closes any remaining connections and threads used by the sessions created by this object.
-
Method Details
-
getHttpClient
org.apache.http.client.HttpClient getHttpClient()- Returns:
- Returns the httpClient.
-
createSPARQLProtocolSession
SPARQLProtocolSession createSPARQLProtocolSession(String queryEndpointUrl, String updateEndpointUrl) Creates a new SPARQL Protocol session to the remote SPARQL endpoint. -
createRDF4JProtocolSession
Creates a new session to the remote RDF4J REST API. -
shutDown
void shutDown()Closes any remaining connections and threads used by the sessions created by this object.
-