|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.http.json.JsonHttpClient.Builder
com.google.api.client.googleapis.services.GoogleClient.Builder
public static class GoogleClient.Builder
Builder for GoogleClient.
Implementation is not thread-safe.
| Constructor Summary | |
|---|---|
protected |
GoogleClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
GenericUrl baseUrl)
Deprecated. (scheduled to be removed in 1.11) Use #Builder(HttpTransport, JsonFactory,
String, String, HttpRequestInitializer) instead. |
|
GoogleClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
String rootUrl,
String servicePath,
HttpRequestInitializer httpRequestInitializer)
Returns an instance of a new builder. |
| Method Summary | |
|---|---|
GoogleClient |
build()
Builds a new instance of GoogleClient. |
| Methods inherited from class com.google.api.client.http.json.JsonHttpClient.Builder |
|---|
getApplicationName, getBaseUrl, getHttpRequestInitializer, getJsonFactory, getJsonHttpRequestInitializer, getObjectParser, getRootUrl, getServicePath, getTransport, isBaseUrlUsed, setApplicationName, setBaseUrl, setHttpRequestInitializer, setJsonHttpRequestInitializer, setObjectParser, setRootUrl, setServicePath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
protected GoogleClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
GenericUrl baseUrl)
#Builder(HttpTransport, JsonFactory,
String, String, HttpRequestInitializer) instead.
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 "/"
public GoogleClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
String rootUrl,
String servicePath,
HttpRequestInitializer httpRequestInitializer)
transport - The transport to use for requestsjsonFactory - A factory for creating JSON parsers and serializersrootUrl - The root URL of the service. Must end with a "/"servicePath - The service path of the service. Must end with a "/" and not begin with a
"/". It is allowed to be an empty string ""httpRequestInitializer - The HTTP request initializer or null for none| Method Detail |
|---|
public GoogleClient build()
GoogleClient.
build in class JsonHttpClient.Builder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||