Extract the basic HTTP proxy support to its own class
commit9a2d86ff6b2748962cb532c7098dbb6e2f2ec318
authorShawn O. Pearce <spearce@spearce.org>
Sun, 29 Jun 2008 07:59:28 +0000 (29 03:59 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 30 Jun 2008 22:46:22 +0000 (1 00:46 +0200)
treed24acc76fbd11fa65c85b4ea1c9f233c7a3cc911
parentc9c2c60476795cd65b4173660cfbe137c8bf1add
Extract the basic HTTP proxy support to its own class

This way the proxy can be initialized from locations other than
jgit's Main, such as from Eclipse plugin initialization or other
command line tools that wrap jgit.

We also moved the proxy lookup code to the utility class as the
error handling is several lines of code and may be shared.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/pgm/Main.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportHttp.java
org.spearce.jgit/src/org/spearce/jgit/util/HttpSupport.java [new file with mode: 0644]