@Beta public class MockGoogleJsonClient extends AbstractGoogleJsonClient
Beta
Modifier and Type | Class and Description |
---|---|
static class |
MockGoogleJsonClient.Builder
|
Modifier | Constructor and Description |
---|---|
|
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) |
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(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 responsesCopyright © 2010–2019 Google. All rights reserved.