@Beta public class MockGoogleJsonClient extends AbstractGoogleJsonClient
Beta
Modifier and Type | Class and Description |
---|---|
static class |
MockGoogleJsonClient.Builder
|
Modifier | Constructor and Description |
---|---|
|
MockGoogleJsonClient(HttpTransport transport,
JsonFactory jsonFactory,
String rootUrl,
String servicePath,
HttpRequestInitializer httpRequestInitializer,
boolean legacyDataWrapper) |
protected |
MockGoogleJsonClient(MockGoogleJsonClient.Builder builder) |
getJsonFactory, getObjectParser
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, initialize
protected MockGoogleJsonClient(MockGoogleJsonClient.Builder builder)
builder
- builderpublic MockGoogleJsonClient(HttpTransport transport, JsonFactory jsonFactory, String rootUrl, String servicePath, 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 responsesCopyright © 2010–2020 Google. All rights reserved.