Interface HttpClientSessionManager

All Known Implementing Classes:
SharedHttpClientSessionManager

public interface HttpClientSessionManager
Manager for remote HTTP sessions using a RDF4JHttpClient.
Author:
James Leigh
  • Method Details

    • getHttpClient

      RDF4JHttpClient getHttpClient()
      Returns:
      Returns the httpClient.
    • setHttpClient

      void setHttpClient(RDF4JHttpClient client)
      Assign an RDF4JHttpClient that this session manager should use.
      Parameters:
      client - the client to use.
    • 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.