com.google.api.client.googleapis.services
Class GoogleClient.Builder
java.lang.Object
com.google.api.client.http.json.JsonHttpClient.Builder
com.google.api.client.googleapis.services.GoogleClient.Builder
- Enclosing class:
- GoogleClient
public static class GoogleClient.Builder
- extends JsonHttpClient.Builder
Builder for GoogleClient.
Implementation is not thread-safe.
- Since:
- 1.6
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoogleClient.Builder
protected GoogleClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
GenericUrl baseUrl)
- Returns an instance of a new builder.
- Parameters:
transport - The transport to use for requestsjsonFactory - A factory for creating JSON parsers and serializersbaseUrl - The base URL of the service. Must end with a "/"
build
public GoogleClient build()
- Builds a new instance of
GoogleClient.
- Overrides:
build in class JsonHttpClient.Builder
Copyright © 2010-2012 Google. All Rights Reserved.