Skip to content
Google HTTP Client Library for Java
Java Other
  1. Java 98.8%
  2. Other 1.2%
Branch: master
Clone or download
codyoss feat: wrap GZIPInputStream for connection reuse (#840)
If a connection is closed and there are some bytes that have not
been read that connection can't be reused. Now GZIPInputStream
will have all of its bytes read on close automatically to promote
connection reuse.

Cherry-picked: #749
Fixes: #367
Latest commit 087a428 Oct 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: update issue template (#836) Oct 11, 2019
.kokoro chore: update common templates (#848) Oct 18, 2019
docs docs: fix HttpResponseException Markup (#829) Sep 26, 2019
google-http-client-android-test chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-android chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-apache-v2 chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-appengine chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-assembly chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-bom chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-findbugs chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-gson chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-jackson2 chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-protobuf chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-test chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client-xml chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
google-http-client feat: wrap GZIPInputStream for connection reuse (#840) Oct 18, 2019
samples/dailymotion-simple-cmdline-sample chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019
.gitignore docs: migrate docs into source control from the wiki (#807) Aug 30, 2019
.repo-metadata.json Update common repo files from synthtool (#756) Jul 31, 2019
.travis.yml Bump version of Apache httpclient. Oct 17, 2017
CHANGELOG.md chore: release 1.32.1 (#826) Sep 20, 2019
CODE_OF_CONDUCT.md Update common repo files from synthtool (#756) Jul 31, 2019
CONTRIBUTING.md Update common repo files from synthtool (#756) Jul 31, 2019
LICENSE Update common repo files from synthtool (#756) Jul 31, 2019
README.md docs: migrate docs into source control from the wiki (#807) Aug 30, 2019
checkstyle-suppressions.xml http: Move api.client.testing.json to avoid package collision Apr 22, 2013
checkstyle.xml Import google_checks.xml for maven-checkstyle-plugin (#786) Aug 8, 2019
clirr-ignored-differences.xml remove deprecated methods (#769) Aug 8, 2019
codecov.yaml Update common repo files from synthtool (#756) Jul 31, 2019
findbugs-exclude.xml Exclude findbugs failing tests Jun 6, 2014
instructions.html
pom.xml deps: update dependency mysql:mysql-connector-java to v8.0.18 (#839) Oct 18, 2019
renovate.json Group Guava, AppEngine, OpenCensus dependencies for renovate Jun 12, 2019
synth.metadata chore: update common templates (#848) Oct 18, 2019
synth.py Update common repo files from synthtool (#756) Jul 31, 2019
versions.txt chore: release 1.32.2-SNAPSHOT (#827) Sep 20, 2019

README.md

Google HTTP Client Library for Java

Description

Written by Google, the Google HTTP Client Library for Java is a flexible, efficient, and powerful Java library for accessing any resource on the web via HTTP. The library has the following features:

  • Pluggable HTTP transport abstraction that allows you to use any low-level library such as java.net.HttpURLConnection, Apache HTTP Client, or URL Fetch on Google App Engine.
  • Efficient JSON and XML data models for parsing and serialization of HTTP response and request content. The JSON and XML libraries are also fully pluggable, and they include support for Jackson and Android's GSON libraries for JSON.

The library supports the following Java environments:

  • Java 7 (or higher)
  • Android 4.0 (Ice Cream Sandwich) (or higher)
  • GoogleAppEngine Google App Engine

The following related projects are built on the Google HTTP Client Library for Java:

This is an open-source library, and contributions are welcome.

Beta Features

Features marked with the @Beta annotation at the class or method level are subject to change. They might be modified in any way, or even removed, in any major release. You should not use beta features if your code is a library itself (that is, if your code is used on the CLASSPATH of users outside your own control).

Deprecated Features

Deprecated non-beta features will be removed eighteen months after the release in which they are first deprecated. You must fix your usages before this time. If you don't, any type of breakage might result, and you are not guaranteed a compilation error.

Documentation

CI Status

Java Version Status
Java 7 Kokoro CI
Java 8 Kokoro CI
Java 11 Kokoro CI
You can’t perform that action at this time.