public class MockGoogleRestServiceClient extends MockRestServiceClient implements DecoratedGoogleRestServiceClient, Serializable
| Constructor and Description |
|---|
MockGoogleRestServiceClient(MockRestServiceClient decoratedClient) |
MockGoogleRestServiceClient(String resourceBaseUrl) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
delete(UserCredential credential,
String id,
Map<String,Object> params) |
Map<String,Object> |
get(UserCredential credential,
String id,
Map<String,Object> params) |
protected void |
init() |
protected RestServiceClientMaker |
makeRestServiceClientMaker() |
Map<String,Object> |
patch(UserCredential credential,
Object partialData,
String id) |
Map<String,Object> |
post(UserCredential credential,
Object inputData) |
Map<String,Object> |
put(UserCredential credential,
Object inputData,
String id) |
String |
toString() |
processaddRequiredScope, addRequiredScopes, clearRequiredScopes, getAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getClientCredential, getDefaultAuthCredential, getHttpMethodFilter, getRequestFormat, getRequestRetryPolicy, getRequiredScopes, getResourceBaseUrl, getResourceDeleteUrl, getResourceGetUrl, getResourcePatchUrl, getResourcePostUrl, getResourcePutUrl, getResourceUrlBuilder, getResponseFormat, getTimeoutSeconds, isAccessAllowed, isAuthCredentialRequired, isMethodSupported, makeAuthRefreshPolicy, makeAutoRedirectPolicy, makeCacheControlPolicy, makeClientCachePolicy, makeDataAccessClient, makeHttpMethodFilter, makeRequestRetryPolicy, makeResourceUrlBuilder, process, removeRequiredScope, removeRequiredScopes, requiresScope, setAuthCredentialRequired, setAuthRefreshPolicy, setAutoRedirectPolicy, setCacheControlPolicy, setClientCachePolicy, setClientCredential, setDefaultAuthCredential, setRequestFormat, setRequestRetryPolicy, setRequiredScopes, setResponseFormat, setTimeoutSecondsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceBaseUrlgetAuthRefreshPolicy, getAutoRedirectPolicy, getCacheControlPolicy, getClientCachePolicy, getRequestRetryPolicygetClientCredentialgetRequiredScopes, isAccessAllowed, requiresScopeisMethodSupportedgetResourceBaseUrl, getResourceDeleteUrl, getResourceGetUrl, getResourcePatchUrl, getResourcePostUrl, getResourcePutUrlpublic MockGoogleRestServiceClient(MockRestServiceClient decoratedClient)
public MockGoogleRestServiceClient(String resourceBaseUrl)
protected void init()
init in class MockRestServiceClientprotected RestServiceClientMaker makeRestServiceClientMaker()
makeRestServiceClientMaker in class MockRestServiceClientpublic Map<String,Object> get(UserCredential credential, String id, Map<String,Object> params) throws IOException
get in interface RestServiceClientget in class MockRestServiceClientIOExceptionpublic Map<String,Object> post(UserCredential credential, Object inputData) throws IOException
post in interface RestServiceClientpost in class MockRestServiceClientIOExceptionpublic Map<String,Object> put(UserCredential credential, Object inputData, String id) throws IOException
put in interface RestServiceClientput in class MockRestServiceClientIOExceptionpublic Map<String,Object> patch(UserCredential credential, Object partialData, String id) throws IOException
patch in interface RestServiceClientpatch in class MockRestServiceClientIOExceptionpublic Map<String,Object> delete(UserCredential credential, String id, Map<String,Object> params) throws IOException
delete in interface RestServiceClientdelete in class MockRestServiceClientIOExceptionpublic String toString()
toString in class MockRestServiceClientCopyright © 2013. All rights reserved.