Constructor and Description |
---|
Builder(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Returns an instance of a new builder.
|
Modifier and Type | Method and Description |
---|---|
Appengine |
build()
Builds a new instance of
Appengine . |
Appengine.Builder |
setAppengineRequestInitializer(AppengineRequestInitializer appengineRequestInitializer)
Set the
AppengineRequestInitializer . |
Appengine.Builder |
setApplicationName(java.lang.String applicationName) |
Appengine.Builder |
setBatchPath(java.lang.String batchPath) |
Appengine.Builder |
setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer) |
Appengine.Builder |
setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) |
Appengine.Builder |
setRootUrl(java.lang.String rootUrl) |
Appengine.Builder |
setServicePath(java.lang.String servicePath) |
Appengine.Builder |
setSuppressAllChecks(boolean suppressAllChecks) |
Appengine.Builder |
setSuppressPatternChecks(boolean suppressPatternChecks) |
Appengine.Builder |
setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) |
getJsonFactory, getObjectParser
public Builder(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
transport
- HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransport
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory
- JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactory
com.google.api.client.json.gson.GsonFactory
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for nonepublic Appengine build()
Appengine
.build
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setRootUrl(java.lang.String rootUrl)
setRootUrl
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setServicePath(java.lang.String servicePath)
setServicePath
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setBatchPath(java.lang.String batchPath)
setBatchPath
in class com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
public Appengine.Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
setHttpRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setApplicationName(java.lang.String applicationName)
setApplicationName
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
setSuppressPatternChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
setSuppressRequiredParameterChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setSuppressAllChecks(boolean suppressAllChecks)
setSuppressAllChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Appengine.Builder setAppengineRequestInitializer(AppengineRequestInitializer appengineRequestInitializer)
AppengineRequestInitializer
.public Appengine.Builder setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer)
setGoogleClientRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder