public class BaseGoogleRestServiceClient extends AbstractRestServiceClient implements GoogleRestServiceClient, Serializable
| Constructor and Description |
|---|
BaseGoogleRestServiceClient(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) |
protected Map<String,Object> |
process(String method,
UserCredential userCredential,
Object inputData,
String id,
Map<String,Object> params,
boolean retrying) |
Map<String,Object> |
put(UserCredential credential,
Object inputData,
String id) |
String |
toString() |
addRequiredScope, 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 BaseGoogleRestServiceClient(String resourceBaseUrl)
protected void init()
init in class AbstractRestServiceClientprotected RestServiceClientMaker makeRestServiceClientMaker()
makeRestServiceClientMaker in class AbstractRestServiceClientprotected Map<String,Object> process(String method, UserCredential userCredential, Object inputData, String id, Map<String,Object> params, boolean retrying) throws IOException
process in class AbstractRestServiceClientIOExceptionpublic Map<String,Object> get(UserCredential credential, String id, Map<String,Object> params) throws IOException
get in interface RestServiceClientget in class AbstractRestServiceClientIOExceptionpublic Map<String,Object> post(UserCredential credential, Object inputData) throws IOException
post in interface RestServiceClientpost in class AbstractRestServiceClientIOExceptionpublic Map<String,Object> put(UserCredential credential, Object inputData, String id) throws IOException
put in interface RestServiceClientput in class AbstractRestServiceClientIOExceptionpublic Map<String,Object> patch(UserCredential credential, Object partialData, String id) throws IOException
patch in interface RestServiceClientpatch in class AbstractRestServiceClientIOExceptionpublic Map<String,Object> delete(UserCredential credential, String id, Map<String,Object> params) throws IOException
delete in interface RestServiceClientdelete in class AbstractRestServiceClientIOExceptionpublic String toString()
toString in class AbstractRestServiceClientCopyright © 2013. All rights reserved.