]> source.dussan.org Git - jgit.git/commit
Add an implementation for HttpConnection using Apache HttpClient 91/22091/3
authorChristian Halstrick <christian.halstrick@sap.com>
Sun, 4 Aug 2013 21:37:50 +0000 (23:37 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Tue, 18 Feb 2014 20:04:17 +0000 (21:04 +0100)
commit2290516ddb5a92ccc296df500aa5e9e30cbc240e
tree04397a7a84eddccdc7fed53e5aa47efbb7fa77c5
parent38c4f35d8b911426e007716697b37d746740b788
Add an implementation for HttpConnection using Apache HttpClient

This change implements the http connection abstraction with the help of
org.apache.http.client.HttpClient. The default implementation used by
JGit is still the JDK HttpURLConnection. But now JGit users have the
possibility to switch completely to org.apache.httpclient. The reason
for this is that in certain (e.g. cloud) environments you are forced to
use the org.apache classes.

Change-Id: I0b357f23243ed13a014c79ba179fa327dfe318b2
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
18 files changed:
org.eclipse.jgit.http.test/META-INF/MANIFEST.MF
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DumbClientDumbServerTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DumbClientSmartServerTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
org.eclipse.jgit.junit.http/META-INF/MANIFEST.MF
org.eclipse.jgit.packaging/org.eclipse.jgit.feature/feature.xml
org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/feature.xml
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.3.target
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.4.target
org.eclipse.jgit/META-INF/MANIFEST.MF
org.eclipse.jgit/pom.xml
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/http/HttpConnection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/http/apache/HttpClientConnection.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/transport/http/apache/HttpClientConnectionFactory.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/transport/http/apache/TemporaryBufferEntity.java [new file with mode: 0644]
pom.xml