public abstract class AbstractGoogleJsonClient extends AbstractGoogleClient
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractGoogleJsonClient.Builder
Builder for
AbstractGoogleJsonClient. |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGoogleJsonClient(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) |
protected |
AbstractGoogleJsonClient(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) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.json.JsonFactory |
getJsonFactory()
Returns the JSON Factory.
|
com.google.api.client.json.JsonObjectParser |
getObjectParser()
Returns the object parser or
null for none. |
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, initializeprotected AbstractGoogleJsonClient(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 responsesprotected AbstractGoogleJsonClient(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
parameterspublic com.google.api.client.json.JsonObjectParser getObjectParser()
AbstractGoogleClientnull for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
getObjectParser in class AbstractGoogleClientpublic final com.google.api.client.json.JsonFactory getJsonFactory()
Copyright © 2010-2013 Google. All Rights Reserved.