T
- the type of response to extract from the request execution.public interface ResourceRequest<T> extends Callable<T>
A REST request executes to read or modify a remote resource.
The contract is to throw a ClientWebException
for any HTTP responses whose status is not 20x
. If an exception is not
expected in such case, clients are advised to use directly an instance of OslcClient to get access to the underlying response.
OslcClient
Modifier and Type | Method and Description |
---|---|
T |
call()
Executes the request and parse the response content in the specified format.
|