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 |
Modifier and Type | Method and Description |
---|---|
static GoogleJsonResponseException |
GoogleJsonResponseException.from(JsonFactory jsonFactory,
HttpResponse response)
Returns a new instance of
GoogleJsonResponseException . |
Modifier and Type | Method and Description |
---|---|
static HttpResponse |
GoogleJsonResponseException.execute(JsonFactory jsonFactory,
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(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
static GoogleJsonResponseException |
GoogleJsonResponseExceptionFactoryTesting.newMock(JsonFactory jsonFactory,
int httpCode,
String reasonPhrase)
Convenience factory method that builds a
GoogleJsonResponseException from its
arguments. |
Copyright © 2010–2020 Google. All rights reserved.