aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java
index baaf8867e4..45bf2db47e 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java
@@ -504,7 +504,16 @@ public class TransportHttp extends HttpTransport implements WalkTransport,
return httpOpen(METHOD_GET, u);
}
- final HttpURLConnection httpOpen(String method, URL u) throws IOException {
+ /**
+ * Open an HTTP connection.
+ *
+ * @param method
+ * @param u
+ * @return the connection
+ * @throws IOException
+ */
+ protected HttpURLConnection httpOpen(String method, URL u)
+ throws IOException {
final Proxy proxy = HttpSupport.proxyFor(proxySelector, u);
HttpURLConnection conn = (HttpURLConnection) u.openConnection(proxy);