How to use HttpsURLConnection through proxy by setProperty?
Network environment: Https Client<=============>Proxy Server<==============>Https Server 192.168.17.11<-----extranet------>192.168.17.22 10.100.21.10<----intranet----->10.100.21.11 ps: Http Client without default gateway, but it can ping to 10.100.21.11 Description: OS: Ubuntu 12.04 on 3 hosts Https Client: Implement with java(openjdk-6).Have one network-interface. Proxy Server: Apache2.2.Have two network-interfaces. Https Server: Tomcat6.Have one network-interface. I use two method to implement httpsurlconnection through proxy: (For facilitate I do not write down about ssl handle function for