DefaultHttpClient
An implementation of HttpClient using the native HttpURLConnection.
Parameters
Custom user agent to use for requests.
Timeout used when establishing a connection to the resource. A null timeout is interpreted as the default value, while a timeout of zero as an infinite timeout.
Timeout used when reading the input stream. A null timeout is interpreted as the default value, while a timeout of zero as an infinite timeout.
Constructors
Types
Callbacks allowing to override some behavior of the DefaultHttpClient.
Functions
Downloads the resource from the given request to the destination file.
Fetches the resource from the given request.
Fetches the resource from the given request as a JSONObject.
Performs a HEAD request to retrieve only the response headers.
Streams the resource from the given request.