public class MockMirrorApiServiceClient extends MockGoogleApiServiceClient implements DecoratedMirrorApiServiceClient, Serializable
| Constructor and Description |
|---|
MockMirrorApiServiceClient(MockGoogleApiServiceClient decoratedClient) |
MockMirrorApiServiceClient(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 MockMirrorApiServiceClient(MockGoogleApiServiceClient decoratedClient)
public MockMirrorApiServiceClient(String resourceBaseUrl)
protected void init()
init in class MockGoogleApiServiceClientprotected ApiServiceClientMaker makeApiServiceClientMaker()
makeApiServiceClientMaker in class MockGoogleApiServiceClientpublic Object get(UserCredential credential, String id) throws RestApiException, IOException
get in interface ApiServiceClientget in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic List<Object> list(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
list in interface ApiServiceClientlist in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic List<String> keys(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
keys in interface ApiServiceClientkeys in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic Object create(UserCredential credential, Object inputData) throws RestApiException, IOException
create in interface ApiServiceClientcreate in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic Object create(UserCredential credential, Object inputData, String id) throws RestApiException, IOException
create in interface ApiServiceClientcreate in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic Object update(UserCredential credential, Object inputData, String id) throws RestApiException, IOException
update in interface ApiServiceClientupdate in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic Object modify(UserCredential credential, Object partialData, String id) throws RestApiException, IOException
modify in interface ApiServiceClientmodify in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic boolean delete(UserCredential credential, String id) throws RestApiException, IOException
delete in interface ApiServiceClientdelete in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic int delete(UserCredential credential, Map<String,Object> params) throws RestApiException, IOException
delete in interface ApiServiceClientdelete in class MockGoogleApiServiceClientRestApiExceptionIOExceptionpublic String toString()
toString in class MockGoogleApiServiceClientCopyright © 2013. All rights reserved.