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