Package org.eclipse.rdf4j.http.client

## Interface SessionManagerDependent

- All Known Implementing Classes:
    `FedXRepository`, `FedXRepositoryConnection`, `HTTPRepository`, `SailRepository`, `SailRepositoryConnection`, `SPARQLRepository`, `SPARQLServiceResolver`

      public interface SessionManagerDependent

  Common interface for objects, such as Repository and RepositoryConnection, that are dependent on `HttpClientSessionManager`.
  Author:
    James Leigh

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `HttpClientSessionManager` | `getHttpClientSessionManager()` | `HttpClientSessionManager` that has been assigned or has been used by this object.
    `void` | `setHttpClientSessionManager​(HttpClientSessionManager client)` | Assign an `HttpClientSessionManager` that this object should use.

- - ### Method Detail

    - #### getHttpClientSessionManager

          HttpClientSessionManager getHttpClientSessionManager()

      `HttpClientSessionManager` that has been assigned or has been used by this object. The life cycle might not be or might be tied to this object, depending on whether `HttpClientSessionManager` was passed to or created by this object respectively.
      Returns:
        a `HttpClientSessionManager` instance or null

    - #### setHttpClientSessionManager

          void setHttpClientSessionManager​(HttpClientSessionManager client)

      Assign an `HttpClientSessionManager` that this object should use. The life cycle of the given `HttpClientSessionManager` is independent of this object. Closing or shutting down this object does not have any impact on the given client. Callers must ensure that the given client is properly closed elsewhere.
      Parameters:
        `client` -