Package com.sodius.oslc.client.requests
Interface ResourceRequest<T>
-
- Type Parameters:
T
- the type of response to extract from the request execution.
- All Superinterfaces:
Callable<T>
- All Known Implementing Classes:
com.sodius.oslc.core.process.internal.requests.AbstractLinkRequest
,AbstractResourceRequest
,AddGCDeliverableLink
,AddLink
,CreateProvisionalConsumerKey
,CreateUserGroup
,DeleteResource
,DeleteUserGroup
,ExecuteLinkIndexQuery
,ExecuteQuery
,ExecuteQuery
,GetBaseline
,GetCompact
,GetComponent
,GetConfiguration
,GetDataGroupPermissions
,GetDataGroups
,GetGlobalConfigurationContribution
,GetGlobalConfigurationFriend
,GetGlobalConfigurationSelectionDialog
,GetLocalConfigurationSelectionDialog
,GetProxyResource
,GetPublisher
,GetResource
,GetResourceDescriptor
,GetResources
,GetResourceShape
,GetRootServices
,GetServiceProvider
,GetServiceProviderCatalog
,GetStream
,GetUserGroup
,GetUserGroupMembers
,GetUserGroups
,PostResource
,PutProxyResource
,PutResource
,QueryUsers
,RemoveGCDeliverableLink
,RemoveLink
,UpdateDataGroupPermissions
,UpdateUserGroupMembers
,ValidateConnection
,ValidateFriend
,WebAppResourceRequest
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 not20x
. 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.- Since:
- 1.1.0
- See Also:
OslcClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
call()
Executes the request and parse the response content in the specified format.
-