Package com.google.api.client.http.javanet (1.42.0)

HTTP Transport library for Google API's based on the java.net package.

Classes

DefaultConnectionFactory

Default implementation of ConnectionFactory, which simply attempts to open the connection with an optional Proxy.

NetHttpTransport

Thread-safe HTTP low-level transport based on the java.net package.

Users should consider modifying the keep alive property on NetHttpTransport to control whether the socket should be returned to a pool of connected sockets. More information is available here.

We honor the default global caching behavior. To change the default behavior use HttpURLConnection#setDefaultUseCaches(boolean).

Implementation is thread-safe. For maximum efficiency, applications should use a single globally-shared instance of the HTTP transport.

NetHttpTransport.Builder

Builder for NetHttpTransport.

Implementation is not thread-safe.

Interfaces

ConnectionFactory

Given a URL instance, produces an HttpURLConnection.