public class MockGoogleApiServiceClient extends MockApiServiceClient implements DecoratedGoogleApiServiceClient, Serializable
| Constructor and Description |
|---|
MockGoogleApiServiceClient(MockApiServiceClient decoratedClient) |
MockGoogleApiServiceClient(String resourceBaseUrl) |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(UserCredential credential,
Object inputData) |
Object |
create(UserCredential credential,
Object inputData,
String id) |
int |
delete(UserCredential credential,
Map<String,Object> params) |
boolean |
delete(UserCredential credential,
String id) |
Object |
get(UserCredential credential,
String id) |
protected void |
init() |
List<String> |
keys(UserCredential credential,
Map<String,Object> params) |
List<Object> |
list(UserCredential credential,
Map<String,Object> params) |
protected ApiServiceClientMaker |
makeApiServiceClientMaker() |
Object |
modify(UserCredential credential,
Object partialData,
String id) |
String |
toString() |
Object |
update(UserCredential credential,
Object inputData,
String id) |
getAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getClientCredential, getCrudMethodFilter, getFlexibleRestServiceClient, getListResponseType, getRequestRetryPolicy, getRequiredScopes, getResourceBaseUrl, getRestServiceAuthRefreshPolicy, getRestServiceAutoRedirectPolicy, getRestServiceCacheControlPolicy, getRestServiceClient, getRestServiceClientCachePolicy, getRestServiceRequestRetryPolicy, isAccessAllowed, isMethodSupported, makeAuthRefreshPolicy, makeAutoRedirectPolicy, makeCacheControlPolicy, makeClientCachePolicy, makeCrudMethodFilter, makeRequestRetryPolicy, makeRestClient, requiresScope, setAuthRefreshPolicy, setAutoRedirectPolicy, setCacheControlPolicy, setClientCachePolicy, setClientCredential, setListResponseType, setRequestRetryPolicy, setRestServiceAuthRefreshPolicy, setRestServiceAutoRedirectPolicy, setRestServiceCacheControlPolicy, setRestServiceClientCachePolicy, setRestServiceRequestRetryPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceBaseUrlgetAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getRequestRetryPolicygetClientCredentialgetRequiredScopes, isAccessAllowed, requiresScopeisMethodSupportedpublic MockGoogleApiServiceClient(MockApiServiceClient decoratedClient)
public MockGoogleApiServiceClient(String resourceBaseUrl)
protected void init()
init in class AbstractApiServiceClientprotected ApiServiceClientMaker makeApiServiceClientMaker()
makeApiServiceClientMaker in class MockApiServiceClientpublic Object get(UserCredential credential, String id) throws RestApiException, IOException
get in interface ApiServiceClientget in class MockApiServiceClientRestApiExceptionIOExceptionpublic List<Object> list(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
list in interface ApiServiceClientlist in class MockApiServiceClientRestApiExceptionIOExceptionpublic List<String> keys(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
keys in interface ApiServiceClientkeys in class MockApiServiceClientRestApiExceptionIOExceptionpublic Object create(UserCredential credential, Object inputData) throws RestApiException, IOException
create in interface ApiServiceClientcreate in class MockApiServiceClientRestApiExceptionIOExceptionpublic Object create(UserCredential credential, Object inputData, String id) throws RestApiException, IOException
create in interface ApiServiceClientcreate in class MockApiServiceClientRestApiExceptionIOExceptionpublic Object update(UserCredential credential, Object inputData, String id) throws RestApiException, IOException
update in interface ApiServiceClientupdate in class MockApiServiceClientRestApiExceptionIOExceptionpublic Object modify(UserCredential credential, Object partialData, String id) throws RestApiException, IOException
modify in interface ApiServiceClientmodify in class MockApiServiceClientRestApiExceptionIOExceptionpublic boolean delete(UserCredential credential, String id) throws RestApiException, IOException
delete in interface ApiServiceClientdelete in class MockApiServiceClientRestApiExceptionIOExceptionpublic int delete(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
delete in interface ApiServiceClientdelete in class MockApiServiceClientRestApiExceptionIOExceptionpublic String toString()
toString in class MockApiServiceClientCopyright © 2013. All rights reserved.