Package org.eclipse.rdf4j.http.client
Interface SessionManagerDependent
-
- All Known Implementing Classes:
FedXRepository,FedXRepositoryConnection,HTTPRepository,SailRepository,SailRepositoryConnection,SPARQLRepository,SPARQLServiceResolver
public interface SessionManagerDependentCommon interface for objects, such as Repository and RepositoryConnection, that are dependent onHttpClientSessionManager.- Author:
- James Leigh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpClientSessionManagergetHttpClientSessionManager()HttpClientSessionManagerthat has been assigned or has been used by this object.voidsetHttpClientSessionManager(HttpClientSessionManager client)Assign anHttpClientSessionManagerthat this object should use.
-
-
-
Method Detail
-
getHttpClientSessionManager
HttpClientSessionManager getHttpClientSessionManager()
HttpClientSessionManagerthat 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 whetherHttpClientSessionManagerwas passed to or created by this object respectively.- Returns:
- a
HttpClientSessionManagerinstance or null
-
setHttpClientSessionManager
void setHttpClientSessionManager(HttpClientSessionManager client)
Assign anHttpClientSessionManagerthat this object should use. The life cycle of the givenHttpClientSessionManageris 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-
-
-