Package | Description |
---|---|
com.google.api.client.extensions.android |
Beta Utilities for Android. |
com.google.api.client.extensions.android.http |
Beta Utilities for Android HTTP transport. |
com.google.api.client.extensions.android.json |
Beta Low-level implementation of the GSON parser library built-in to the Android 3.0 SDK. |
com.google.api.client.http |
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
|
com.google.api.client.http.apache |
HTTP Transport library for Google API's based on Apache HTTP Client version 4.
|
com.google.api.client.http.apache.v2 |
HTTP Transport library for Google API's based on Apache HTTP Client version 4.5+.
|
com.google.api.client.http.javanet |
HTTP Transport library for Google API's based on the
java.net package. |
com.google.api.client.http.protobuf | |
com.google.api.client.http.xml |
Beta XML HTTP library based on the pluggable HTTP library. |
com.google.api.client.http.xml.atom |
Beta Atom XML 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.json.gson |
Low-level implementation of the GSON parser library based on the GSON JSON library.
|
com.google.api.client.json.rpc2 | |
com.google.api.client.json.webtoken | |
com.google.api.client.protobuf | |
com.google.api.client.test.util.store |
Abstract tests for data stores.
|
com.google.api.client.testing.http |
Beta Testing utilities used for writing tests based on this library. |
com.google.api.client.testing.http.apache |
Beta Testing utilities used for writing tests based on the Apache HTTP Client. |
com.google.api.client.testing.http.javanet | |
com.google.api.client.testing.json |
Beta Testing utilities used for writing tests based on this library. |
com.google.api.client.testing.json.webtoken |
Beta Testing utilities used for writing tests for JSON WebToken. |
com.google.api.client.testing.util |
Beta Testing utilities used for writing tests based on this library. |
com.google.api.client.util |
General utilities used throughout this library.
|
com.google.api.client.xml |
Beta Utilities for XML. |
com.google.api.client.xml.atom |
Beta Utilities for Atom XML. |
Package | Description |
---|---|
com.google.api.client.extensions.android |
Beta Utilities for Android. |
com.google.api.client.extensions.android.http |
Beta Utilities for Android HTTP transport. |
com.google.api.client.extensions.android.json |
Beta Low-level implementation of the GSON parser library built-in to the Android 3.0 SDK. |
com.google.api.client.http.protobuf | |
com.google.api.client.http.xml |
Beta XML HTTP library based on the pluggable HTTP library. |
com.google.api.client.http.xml.atom |
Beta Atom XML HTTP library based on the pluggable HTTP library. |
com.google.api.client.json.rpc2 | |
com.google.api.client.protobuf | |
com.google.api.client.testing.http |
Beta Testing utilities used for writing tests based on this library. |
com.google.api.client.testing.http.apache |
Beta Testing utilities used for writing tests based on the Apache HTTP Client. |
com.google.api.client.testing.http.javanet | |
com.google.api.client.testing.json |
Beta Testing utilities used for writing tests based on this library. |
com.google.api.client.testing.json.webtoken |
Beta Testing utilities used for writing tests for JSON WebToken. |
com.google.api.client.testing.util |
Beta Testing utilities used for writing tests based on this library. |
com.google.api.client.xml |
Beta Utilities for XML. |
com.google.api.client.xml.atom |
Beta Utilities for Atom XML. |
Modifier and Type | Class and Description |
---|---|
class |
AndroidUtils
Beta Utilities for Android. |
Modifier and Type | Class and Description |
---|---|
class |
AndroidHttp
Deprecated.
Gingerbread is no longer supported by Google Play Services. Please use
NetHttpTransport directly or switch to Cronet which is better supported. |
Modifier and Type | Class and Description |
---|---|
class |
AndroidJsonFactory
Beta Low-level JSON library implementation based on GSON. |
Modifier and Type | Interface and Description |
---|---|
interface |
BackOffPolicy
Deprecated.
(scheduled to be removed in 1.18) Use
HttpBackOffUnsuccessfulResponseHandler
instead. |
class |
ExponentialBackOffPolicy
Deprecated.
(scheduled to be removed in 1.18). Use
HttpBackOffUnsuccessfulResponseHandler
with ExponentialBackOff instead. |
static class |
ExponentialBackOffPolicy.Builder
Deprecated.
|
class |
HttpBackOffIOExceptionHandler
|
class |
HttpBackOffUnsuccessfulResponseHandler
|
static interface |
HttpBackOffUnsuccessfulResponseHandler.BackOffRequired
|
interface |
HttpIOExceptionHandler
|
class |
OpenCensusUtils
Beta Utilities for Census monitoring and tracing. |
Modifier and Type | Method and Description |
---|---|
ApacheHttpTransport.Builder |
ApacheHttpTransport.Builder.doNotValidateCertificate()
Beta Disables validating server SSL certificates by setting the SSL socket factory using SslUtils.trustAllSSLContext() for the SSL context and SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER for the host name verifier. |
Constructor and Description |
---|
ApacheHttpTransport(org.apache.http.client.HttpClient httpClient,
boolean isMtls)
Beta Constructor that allows an alternative Apache HTTP client to be used. |
Modifier and Type | Method and Description |
---|---|
NetHttpTransport.Builder |
NetHttpTransport.Builder.doNotValidateCertificate()
Beta Disables validating server SSL certificates by setting the SSL socket factory using SslUtils.trustAllSSLContext() for the SSL context and SslUtils.trustAllHostnameVerifier() for the host name verifier. |
NetHttpTransport.Builder |
NetHttpTransport.Builder.trustCertificates(KeyStore trustStore,
KeyStore mtlsKeyStore,
String mtlsKeyStorePassword)
Beta Sets the SSL socket factory based on a root certificate trust store and a client certificate key store. |
Modifier and Type | Class and Description |
---|---|
class |
ProtoHttpContent
Beta Serializes of a protocol buffer message to HTTP content. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractXmlHttpContent
Beta Abstract serializer for XML HTTP content based on the data key/value mapping object for an item. |
class |
XmlHttpContent
Beta Serializes XML HTTP content based on the data key/value mapping object for an item. |
Modifier and Type | Class and Description |
---|---|
class |
AtomContent
Beta Serializes Atom XML HTTP content based on the data key/value mapping object for an Atom entry. |
class |
AtomFeedParser<T,E>
Beta Atom feed pull parser when the Atom entry class is known in advance. |
Modifier and Type | Class and Description |
---|---|
class |
CustomizeJsonParser
Beta Customizes the behavior of a JSON parser. |
interface |
JsonPolymorphicTypeMap
Beta Declares that the data type enclosing this field is polymorphic, and that the value of this field in a heterogeneous JSON schema will determine what type the data should be parsed into. |
Modifier and Type | Method and Description |
---|---|
<T> T |
JsonParser.parse(Class<T> destinationClass,
CustomizeJsonParser customizeParser)
Beta Parse a JSON object, array, or value into a new instance of the given destination class, optionally using the given parser customizer. |
void |
JsonParser.parse(Object destination,
CustomizeJsonParser customizeParser)
Beta Parse a JSON object from the given JSON parser into the given destination object, optionally using the given parser customizer. |
Object |
JsonParser.parse(Type dataType,
boolean close,
CustomizeJsonParser customizeParser)
Beta Parse a JSON object, array, or value into a new instance of the given destination class, optionally using the given parser customizer. |
<T> T |
JsonParser.parseAndClose(Class<T> destinationClass,
CustomizeJsonParser customizeParser)
Beta Parse a JSON object, array, or value into a new instance of the given destination class using JsonParser.parse(Class, CustomizeJsonParser) , and then closes the parser. |
void |
JsonParser.parseAndClose(Object destination,
CustomizeJsonParser customizeParser)
Beta Parse a JSON Object from the given JSON parser -- which is closed after parsing completes -- into the given destination object, optionally using the given parser customizer. |
<T> Collection<T> |
JsonParser.parseArray(Class<?> destinationCollectionClass,
Class<T> destinationItemClass,
CustomizeJsonParser customizeParser)
Beta Parse a JSON Array from the given JSON parser into the given destination collection, optionally using the given parser customizer. |
<T> void |
JsonParser.parseArray(Collection<? super T> destinationCollection,
Class<T> destinationItemClass,
CustomizeJsonParser customizeParser)
Beta Parse a JSON Array from the given JSON parser into the given destination collection, optionally using the given parser customizer. |
<T> Collection<T> |
JsonParser.parseArrayAndClose(Class<?> destinationCollectionClass,
Class<T> destinationItemClass,
CustomizeJsonParser customizeParser)
Beta Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection, optionally using the given parser customizer. |
<T> void |
JsonParser.parseArrayAndClose(Collection<? super T> destinationCollection,
Class<T> destinationItemClass,
CustomizeJsonParser customizeParser)
Beta Parse a JSON Array from the given JSON parser (which is closed after parsing completes) into the given destination collection, optionally using the given parser customizer. |
Modifier and Type | Method and Description |
---|---|
static GsonFactory |
GsonFactory.getDefaultInstance()
Beta Returns a global thread-safe instance. |
Modifier and Type | Class and Description |
---|---|
class |
JsonRpcRequest
Beta JSON-RPC 2.0 request object. |
Modifier and Type | Method and Description |
---|---|
X509Certificate |
JsonWebSignature.verifySignature()
Beta Verifies the signature of the content using the certificate chain embedded in the signature. |
X509Certificate |
JsonWebSignature.verifySignature(X509TrustManager trustManager)
Beta Verifies the signature of the content using the certificate chain embedded in the signature. |
Modifier and Type | Class and Description |
---|---|
class |
ProtocolBuffers
Beta Utilities for protocol buffers. |
class |
ProtoObjectParser
Beta Parses protocol buffer HTTP response content into a protocol buffer message. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataStoreFactoryTest
Tests
DataStoreFactory . |
Modifier and Type | Class and Description |
---|---|
class |
FixedClock
Beta A thread-safe fixed time implementation of the Clock to be used for unit testing. |
class |
HttpTesting
Beta Utilities and constants related to testing the HTTP library. |
class |
MockHttpContent
|
class |
MockHttpTransport
|
static class |
MockHttpTransport.Builder
|
class |
MockHttpUnsuccessfulResponseHandler
|
class |
MockLowLevelHttpRequest
|
class |
MockLowLevelHttpResponse
|
Modifier and Type | Class and Description |
---|---|
class |
MockHttpClient
|
Modifier and Type | Class and Description |
---|---|
class |
MockHttpURLConnection
|
Modifier and Type | Class and Description |
---|---|
class |
MockJsonFactory
|
class |
MockJsonGenerator
|
class |
MockJsonParser
|
Modifier and Type | Class and Description |
---|---|
class |
TestCertificates
Beta Test certificates. |
static class |
TestCertificates.CertData
Beta Wrapper for a PEM encoded certificate providing utility routines. |
Modifier and Type | Class and Description |
---|---|
class |
LogRecordingHandler
Beta Logging handler that stores log records. |
class |
MockBackOff
|
class |
MockSleeper
|
class |
SecurityTestUtils
|
class |
TestableByteArrayInputStream
Beta Testable extension for a byte array input stream. |
class |
TestableByteArrayOutputStream
Beta Testable extension for a byte array output stream. |
Modifier and Type | Class and Description |
---|---|
class |
BackOffUtils
|
class |
PemReader
Beta PEM file reader. |
Modifier and Type | Method and Description |
---|---|
static KeyStore |
SecurityUtils.createMtlsKeyStore(InputStream certAndKey)
Beta Create a keystore for mutual TLS with the certificate and private key provided. |
static SSLContext |
SslUtils.initSslContext(SSLContext sslContext,
KeyStore trustStore,
TrustManagerFactory trustManagerFactory,
KeyStore mtlsKeyStore,
String mtlsKeyStorePassword,
KeyManagerFactory keyManagerFactory)
Beta Initializes the SSL context to the trust managers supplied by the trust manager factory for the given trust store, and to the key managers supplied by the key manager factory for the given key store. |
static HostnameVerifier |
SslUtils.trustAllHostnameVerifier()
Beta Returns a verifier that trusts all host names. |
static SSLContext |
SslUtils.trustAllSSLContext()
Beta Returns an SSL context in which all X.509 certificates are trusted. |
Modifier and Type | Class and Description |
---|---|
class |
GenericXml
Beta Generic XML data that stores all unknown key name/value pairs. |
class |
Xml
Beta XML utilities. |
class |
XmlNamespaceDictionary
Beta Thread-safe XML namespace dictionary that provides a one-to-one map of namespace alias to URI. |
class |
XmlObjectParser
Beta XML HTTP parser into an data class of key/value pairs. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAtomFeedParser<T>
Beta Abstract base class for an Atom feed parser when the feed type is known in advance. |
class |
Atom
Beta Atom Utilities. |
Copyright © 2011–2021 Google. All rights reserved.