Package | Description |
---|---|
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.javanet |
HTTP Transport library for Google API's based on the
java.net package. |
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.rpc2 | |
com.google.api.client.json.webtoken | |
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.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.util.store |
Beta Utilities to store serializable data. |
Package | Description |
---|---|
com.google.api.client.util.store |
Beta Utilities to store serializable data. |
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.json.webtoken | |
com.google.api.client.json.rpc2 | |
com.google.api.client.testing.util |
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 |
Beta Testing utilities used for writing tests based on this library. |
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
|
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. |
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. |
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 | Class and Description |
---|---|
class |
JsonRpcRequest
Beta JSON-RPC 2.0 request object. |
Modifier and Type | Class and Description |
---|---|
class |
JsonWebSignature
|
static class |
JsonWebSignature.Header
|
static class |
JsonWebSignature.Parser
Beta JWS parser. |
class |
JsonWebToken
|
static class |
JsonWebToken.Header
|
static class |
JsonWebToken.Payload
|
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 |
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 <S extends Serializable> |
IOUtils.deserialize(byte[] bytes)
Beta Deserializes the given byte array into to a newly allocated object. |
static <S extends Serializable> |
IOUtils.deserialize(InputStream inputStream)
Beta Deserializes the given input stream into to a newly allocated object, and close the input stream. |
static boolean |
IOUtils.isSymbolicLink(File file)
Beta Returns whether the given file is a symbolic link. |
static byte[] |
IOUtils.serialize(Object value)
Beta Serializes the given object value to a newly allocated byte array. |
static void |
IOUtils.serialize(Object value,
OutputStream outputStream)
Beta Serializes the given object value to an output stream, and close the output stream. |
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 |
AbstractDataStore<V extends Serializable>
Beta Abstract data store implementation. |
class |
AbstractDataStoreFactory
Beta Abstract data store factory implementation. |
interface |
DataStore<V extends Serializable>
Beta Stores and manages serializable data of a specific type, where the key is a string and the value is a Serializable object. |
interface |
DataStoreFactory
Beta Factory for a store that manages serializable data, where the key is a string and the value is a Serializable object. |
class |
DataStoreUtils
Beta Utilities for data stores. |
class |
FileDataStoreFactory
Beta Thread-safe file implementation of a credential store. |
class |
MemoryDataStoreFactory
Beta Thread-safe in-memory implementation of a data store factory. |
Copyright © 2011-2014 Google. All Rights Reserved.