public class MockGoogleJsonClient extends AbstractGoogleJsonClient
Beta
Thread-safe mock Google JSON client.
Inheritance
java.lang.Object > AbstractGoogleClient > AbstractGoogleJsonClient > MockGoogleJsonClientConstructors
MockGoogleJsonClient(MockGoogleJsonClient.Builder builder)
protected MockGoogleJsonClient(MockGoogleJsonClient.Builder builder)
Name | Description |
builder | MockGoogleJsonClient.Builder builder |
MockGoogleJsonClient(HttpTransport transport, JsonFactory jsonFactory, String rootUrl, String servicePath, HttpRequestInitializer httpRequestInitializer, boolean legacyDataWrapper)
public MockGoogleJsonClient(HttpTransport transport, JsonFactory jsonFactory, String rootUrl, String servicePath, HttpRequestInitializer httpRequestInitializer, boolean legacyDataWrapper)
Name | Description |
transport | com.google.api.client.http.HttpTransport HTTP transport |
jsonFactory | com.google.api.client.json.JsonFactory JSON factory |
rootUrl | String root URL of the service |
servicePath | String service path |
httpRequestInitializer | com.google.api.client.http.HttpRequestInitializer HTTP request initializer or |
legacyDataWrapper | boolean whether using the legacy data wrapper in responses |