Package | Description |
---|---|
com.google.api.client.googleapis.json |
Google's JSON support (see detailed package specification).
|
com.google.api.client.googleapis.services.json |
Contains the basis for the generated service-specific libraries based on the JSON format.
|
com.google.api.client.googleapis.testing.json |
Beta Test utilities for the com.google.api.client.googleapis.json package. |
Modifier and Type | Method and Description |
---|---|
static GoogleJsonResponseException |
GoogleJsonResponseException.from(com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpResponse response)
Returns a new instance of
GoogleJsonResponseException . |
Modifier and Type | Method and Description |
---|---|
static com.google.api.client.http.HttpResponse |
GoogleJsonResponseException.execute(com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequest request)
Executes an HTTP request using
HttpRequest.execute() , but throws a
GoogleJsonResponseException on error instead of HttpResponseException . |
Modifier and Type | Method and Description |
---|---|
protected GoogleJsonResponseException |
AbstractGoogleJsonClientRequest.newExceptionOnError(com.google.api.client.http.HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
static GoogleJsonResponseException |
GoogleJsonResponseExceptionFactoryTesting.newMock(com.google.api.client.json.JsonFactory jsonFactory,
int httpCode,
String reasonPhrase)
Convenience factory method that builds a
GoogleJsonResponseException
from its arguments. |
Copyright © 2010–2019 Google. All rights reserved.