public class MockRestApiServiceClient extends AbstractRestApiServiceClient implements DecoratedRestApiServiceClient, Serializable
| Constructor and Description |
|---|
MockRestApiServiceClient() |
getApiServiceClient, getAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getClientCredential, getFlexibleApiServiceClient, getFlexibleRestServiceClient, getRequestRetryPolicy, getRequiredScopes, getResourceBaseUrl, getRestServiceAuthRefreshPolicy, getRestServiceAutoRedirectPolicy, getRestServiceCacheControlPolicy, getRestServiceClient, getRestServiceClientCachePolicy, getRestServiceRequestRetryPolicy, init, isAccessAllowed, isMethodSupported, requiresScope, setAuthRefreshPolicy, setAutoRedirectPolicy, setCacheControlPolicy, setClientCachePolicy, setClientCredential, setRequestRetryPolicy, setRestServiceAuthRefreshPolicy, setRestServiceAutoRedirectPolicy, setRestServiceCacheControlPolicy, setRestServiceClientCachePolicy, setRestServiceRequestRetryPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceBaseUrlgetAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getRequestRetryPolicygetClientCredentialgetRequiredScopes, isAccessAllowed, requiresScopeisMethodSupportedpublic Map<String,Object> get(UserCredential credential, String id, Map<String,Object> params) throws IOException
get in interface RestServiceClientget in class AbstractRestApiServiceClientIOExceptionpublic Map<String,Object> post(UserCredential credential, Object inputData) throws IOException
post in interface RestServiceClientpost in class AbstractRestApiServiceClientIOExceptionpublic Map<String,Object> put(UserCredential credential, Object inputData, String id) throws IOException
put in interface RestServiceClientput in class AbstractRestApiServiceClientIOExceptionpublic Map<String,Object> patch(UserCredential credential, Object partialData, String id) throws IOException
patch in interface RestServiceClientpatch in class AbstractRestApiServiceClientIOExceptionpublic Map<String,Object> delete(UserCredential credential, String id, Map<String,Object> params) throws IOException
delete in interface RestServiceClientdelete in class AbstractRestApiServiceClientIOExceptionpublic Object get(UserCredential credential, String id) throws RestApiException, IOException
get in interface ApiServiceClientget in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic List<Object> list(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
list in interface ApiServiceClientlist in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic List<String> keys(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
keys in interface ApiServiceClientkeys in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic Object create(UserCredential credential, Object inputData) throws RestApiException, IOException
create in interface ApiServiceClientcreate in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic Object create(UserCredential credential, Object inputData, String id) throws RestApiException, IOException
create in interface ApiServiceClientcreate in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic Object update(UserCredential credential, Object inputData, String id) throws RestApiException, IOException
update in interface ApiServiceClientupdate in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic Object modify(UserCredential credential, Object partialData, String id) throws RestApiException, IOException
modify in interface ApiServiceClientmodify in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic boolean delete(UserCredential credential, String id) throws RestApiException, IOException
delete in interface ApiServiceClientdelete in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic int delete(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
delete in interface ApiServiceClientdelete in class AbstractRestApiServiceClientRestApiExceptionIOExceptionpublic String toString()
toString in class AbstractRestApiServiceClientCopyright © 2013. All rights reserved.