Package org.eclipse.rdf4j.http.client
Interface HttpClientSessionManager
-
- All Known Implementing Classes:
SharedHttpClientSessionManager
public interface HttpClientSessionManagerManager for remote HTTP sessions using aHttpClient.- Author:
- James Leigh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RDF4JProtocolSessioncreateRDF4JProtocolSession(String serverURL)Creates a new session to the remote RDF4J REST API.SPARQLProtocolSessioncreateSPARQLProtocolSession(String queryEndpointUrl, String updateEndpointUrl)Creates a new SPARQL Protocol session to the remote SPARQL endpoint.org.apache.http.client.HttpClientgetHttpClient()voidshutDown()Closes any remaining connections and threads used by the sessions created by this object.
-
-
-
Method Detail
-
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
RDF4JProtocolSession createRDF4JProtocolSession(String serverURL)
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.
-
-