public class MockGoogleJsonClient extends AbstractGoogleJsonClient
| Modifier and Type | Class and Description |
|---|---|
static class |
MockGoogleJsonClient.Builder
Builder for
MockGoogleJsonClient. |
| Constructor and Description |
|---|
MockGoogleJsonClient(com.google.api.client.http.HttpTransport transport,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer,
String rootUrl,
String servicePath,
com.google.api.client.json.JsonObjectParser jsonObjectParser,
GoogleClientRequestInitializer googleClientRequestInitializer,
String applicationName,
boolean suppressPatternChecks) |
MockGoogleJsonClient(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
String rootUrl,
String servicePath,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer,
boolean legacyDataWrapper) |
getJsonFactory, getObjectParserbatch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, initializepublic MockGoogleJsonClient(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
String rootUrl,
String servicePath,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer,
boolean legacyDataWrapper)
transport - HTTP transportjsonFactory - JSON factoryrootUrl - root URL of the serviceservicePath - service pathhttpRequestInitializer - HTTP request initializer or null for nonelegacyDataWrapper - whether using the legacy data wrapper in responsespublic MockGoogleJsonClient(com.google.api.client.http.HttpTransport transport,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer,
String rootUrl,
String servicePath,
com.google.api.client.json.JsonObjectParser jsonObjectParser,
GoogleClientRequestInitializer googleClientRequestInitializer,
String applicationName,
boolean suppressPatternChecks)
transport - HTTP transporthttpRequestInitializer - HTTP request initializer or null for nonerootUrl - root URL of the serviceservicePath - service pathjsonObjectParser - JSON object parsergoogleClientRequestInitializer - Google request initializer or null for noneapplicationName - application name to be sent in the User-Agent header of requests or
null for nonesuppressPatternChecks - whether discovery pattern checks should be suppressed on required
parametersCopyright © 2010-2013 Google. All Rights Reserved.