diff options
author | Christian Halstrick <christian.halstrick@sap.com> | 2013-08-04 22:49:47 +0200 |
---|---|---|
committer | Christian Halstrick <christian.halstrick@sap.com> | 2014-02-18 21:04:10 +0100 |
commit | 38c4f35d8b911426e007716697b37d746740b788 (patch) | |
tree | 8c199a7fc9e2b65135cb388ddec588b212fa79fe /org.eclipse.jgit/.settings | |
parent | f08fde3eebc2689210292d78db785f6ec52dc8ef (diff) | |
download | jgit-38c4f35d8b911426e007716697b37d746740b788.tar.gz jgit-38c4f35d8b911426e007716697b37d746740b788.zip |
Introduce an abstraction for HTTP connections
Previously all HTTP communication was done with the help of
java.net.HttpUrlConnection. In order to make JGit usable in environments
where the direct usage of such connections is not allowed but where the
environment provides other means to get network connections an
abstraction for connections is introduced. The idea is that new
implementations of this interface will be introduced which will not use
java.net.HttpUrlConnection but use e.g.
org.apache.client.http.HttpClient to provide network connections.
One example: certain cloud infrastructures don't allow that components
in the cloud communicate directly with HttpUrlConnection. Instead they
provide services where a component can ask for a connection (given a
symbolic name for the destination) and where the infrastructure returns
a preconfigured org.apache.http.client.HttpClient. In order to allow
JGit to be running in such environments we need the abstraction
introduced in this commit.
Change-Id: I3b06629f90a118bd284e55bb3f6465fe7d10463d
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/.settings')
-rw-r--r-- | org.eclipse.jgit/.settings/.api_filters | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters new file mode 100644 index 0000000000..87a931c879 --- /dev/null +++ b/org.eclipse.jgit/.settings/.api_filters @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<component id="org.eclipse.jgit" version="2"> + <resource path="META-INF/MANIFEST.MF"> + <filter id="923795461"> + <message_arguments> + <message_argument value="3.3.0"/> + <message_argument value="3.2.0"/> + </message_arguments> + </filter> + </resource> + <resource path="src/org/eclipse/jgit/transport/TransportHttp.java" type="org.eclipse.jgit.transport.TransportHttp"> + <filter comment="Method is only used by implementers of TransportHttp's API, minor version are allowed to break implementer API according to OSGi semantic versioning (http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf)" id="338792546"> + <message_arguments> + <message_argument value="org.eclipse.jgit.transport.TransportHttp"/> + <message_argument value="httpOpen(String, URL)"/> + </message_arguments> + </filter> + </resource> +</component> |