public interface RestServiceClient extends ResourceServiceClient, RestClient, HttpMethodFilter
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
delete(UserCredential credential,
String id,
Map<String,Object> params)
Both id and params cannot be null.
|
Map<String,Object> |
get(UserCredential credential,
String id,
Map<String,Object> params)
Both id and params cannot be null.
|
Map<String,Object> |
patch(UserCredential credential,
Object partialData,
String id) |
Map<String,Object> |
post(UserCredential credential,
Object inputData)
Returns the new resource created by the given input.
|
Map<String,Object> |
put(UserCredential credential,
Object inputData,
String id)
Returns the resource created/updated by the given input.
|
getResourceBaseUrlgetAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getRequestRetryPolicygetClientCredentialgetRequiredScopes, isAccessAllowed, requiresScopeisMethodSupportedMap<String,Object> get(UserCredential credential, String id, Map<String,Object> params) throws IOException
credential - Auth credential of a user needed to access the resource on behalf of the user.id - Resource id.params - URL query parameters to select a collection.IOException - TODOMap<String,Object> post(UserCredential credential, Object inputData) throws IOException
credential - Auth credential of a user needed to access the resource on behalf of the user.inputData - The object to be created.IOException - TODOMap<String,Object> put(UserCredential credential, Object inputData, String id) throws IOException
credential - Auth credential of a user needed to access the resource on behalf of the user.inputData - The new resource.id - Resource id.IOException - TODOMap<String,Object> patch(UserCredential credential, Object partialData, String id) throws IOException
IOExceptionMap<String,Object> delete(UserCredential credential, String id, Map<String,Object> params) throws IOException
credential - Auth credential of a user needed to access the resource on behalf of the user.id - Resource id.params - URL query parameters to select a collection.IOException - TODOCopyright © 2013. All rights reserved.