Package | Description |
---|---|
com.google.api.client.http.json |
JSON HTTP library based on the pluggable HTTP library.
|
com.google.api.client.json |
Utilities for JSON as specified in RFC 4627: The
application/json Media Type for JavaScript Object Notation (JSON) and Introducing JSON.
|
com.google.api.client.testing.http.json |
Testing utilities used for writing tests based on this library.
|
Modifier and Type | Method and Description |
---|---|
JsonFactory |
JsonHttpParser.getJsonFactory()
Deprecated.
Returns the JSON factory.
|
JsonFactory |
JsonHttpParser.Builder.getJsonFactory()
Returns the JSON factory.
|
JsonFactory |
JsonHttpClient.getJsonFactory()
Deprecated.
Returns the JSON Factory.
|
JsonFactory |
JsonHttpClient.Builder.getJsonFactory()
Deprecated.
Returns the JSON factory.
|
JsonFactory |
JsonHttpContent.getJsonFactory()
Returns the JSON factory.
|
Modifier and Type | Method and Description |
---|---|
static JsonHttpParser.Builder |
JsonHttpParser.builder(JsonFactory jsonFactory)
Deprecated.
Returns an instance of a new builder.
|
static JsonParser |
JsonHttpParser.parserForResponse(JsonFactory jsonFactory,
HttpResponse response)
Deprecated.
Returns a JSON parser to use for parsing the given HTTP response.
|
Constructor and Description |
---|
JsonHttpClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
GenericUrl baseUrl)
Deprecated.
Returns an instance of a new builder.
|
JsonHttpClient.Builder(HttpTransport transport,
JsonFactory jsonFactory,
String rootUrl,
String servicePath,
HttpRequestInitializer httpRequestInitializer)
Deprecated.
Returns an instance of a new builder.
|
JsonHttpClient(HttpTransport transport,
JsonFactory jsonFactory,
String baseUrl)
Deprecated.
Constructor with required parameters.
|
JsonHttpClient(HttpTransport transport,
JsonFactory jsonFactory,
String rootUrl,
String servicePath,
HttpRequestInitializer httpRequestInitializer)
Deprecated.
Constructor with required parameters.
|
JsonHttpClient(HttpTransport transport,
JsonHttpRequestInitializer jsonHttpRequestInitializer,
HttpRequestInitializer httpRequestInitializer,
JsonFactory jsonFactory,
JsonObjectParser jsonObjectParser,
String baseUrl,
String applicationName)
Deprecated.
Construct the
JsonHttpClient . |
JsonHttpClient(HttpTransport transport,
JsonHttpRequestInitializer jsonHttpRequestInitializer,
HttpRequestInitializer httpRequestInitializer,
JsonFactory jsonFactory,
JsonObjectParser jsonObjectParser,
String rootUrl,
String servicePath,
String applicationName)
Deprecated.
Construct the
JsonHttpClient . |
JsonHttpClient(HttpTransport transport,
JsonHttpRequestInitializer jsonHttpRequestInitializer,
HttpRequestInitializer httpRequestInitializer,
JsonFactory jsonFactory,
String baseUrl,
String applicationName)
Deprecated.
Construct the
JsonHttpClient . |
JsonHttpContent(JsonFactory jsonFactory,
Object data) |
JsonHttpParser.Builder(JsonFactory jsonFactory) |
JsonHttpParser(JsonFactory jsonFactory)
Deprecated.
Constructor with required parameters.
|
JsonHttpParser(JsonFactory jsonFactory,
String contentType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonFactory |
JsonGenerator.getFactory()
Returns the JSON factory from which this generator was created.
|
JsonFactory |
GenericJson.getFactory()
Returns the JSON factory or
null for none. |
abstract JsonFactory |
JsonParser.getFactory()
Returns the JSON factory from which this generator was created.
|
JsonFactory |
JsonObjectParser.getJsonFactory()
Returns the JSON factory.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericJson.setFactory(JsonFactory factory)
Sets the JSON factory or
null for none. |
Constructor and Description |
---|
JsonObjectParser(JsonFactory jsonFactory)
Constructor with required parameters.
|
Modifier and Type | Class and Description |
---|---|
class |
MockJsonFactory
Mock for
JsonFactory . |
Modifier and Type | Method and Description |
---|---|
JsonFactory |
MockJsonGenerator.getFactory() |
JsonFactory |
MockJsonParser.getFactory() |
Copyright © 2011-2012 Google. All Rights Reserved.