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
Modifier and TypeMethodDescriptionHttpClientSessionManager
that has been assigned or has been used by this object.void
Assign anHttpClientSessionManager
that this object should use.
-
Method Details
-
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 whetherHttpClientSessionManager
was passed to or created by this object respectively.- Returns:
- a
HttpClientSessionManager
instance or null
-
setHttpClientSessionManager
Assign anHttpClientSessionManager
that this object should use. The life cycle of the givenHttpClientSessionManager
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
-
-