public interface OslcClient
An HTTP client that allows executing requests on OSLC resources.
An OslcClient is not thread-safe; requests shall not be executed concurrently. Use OslcClients.concurrent(factory)
for concurrent
requests executions.
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
OslcClientFactory |
getFactory()
Returns the factory that created this OslcClient instance.
|
OslcResource |
resource(String uri)
Returns an OslcResource on which a request can then be executed.
|
OslcResource |
resource(URI uri)
Returns an OslcResource on which a request can then be executed.
|
OslcClientFactory getFactory()
OslcClientFactory.create()
OslcResource resource(URI uri)
uri
- the URI of the resourceOslcResource resource(String uri)
uri
- the URI of the resource