Package com.google.api.client.http.apache (1.45.0)

Deprecated. Please use com.google.api.client.http.apache.v2 provided by the com.google.http-client:google-http-client-apache-v2 artifact.

HTTP Transport library for Google API's based on Apache HTTP Client version 4.

Classes

ApacheHttpTransport (deprecated)

Deprecated. Please use com.google.api.client.http.apache.v2.ApacheHttpTransport provided by the com.google.http-client:google-http-client-apache-v2 artifact.

Thread-safe HTTP transport based on the Apache HTTP Client library.

Implementation is thread-safe, as long as any parameter modification to the Apache HTTP Client is only done at initialization time. For maximum efficiency, applications should use a single globally-shared instance of the HTTP transport.

Default settings are specified in #newDefaultHttpClient(). Use the #ApacheHttpTransport(HttpClient) constructor to override the Apache HTTP Client used. Alternatively, use #ApacheHttpTransport() and change the #getHttpClient(). Please read the Apache HTTP Client connection management tutorial for more complex configuration options.

ApacheHttpTransport.Builder

Builder for ApacheHttpTransport.

Implementation is not thread-safe.