facebook graph api - Java Proxy Server Settings at JVM Level -
i have developed java application connect facebook rest api , perform various tasks.
it has run corporate proxy server, have tried various jvm level proxy settings did not work me. have tried following
1.
system.setproperty("http.proxyhost", gethttphost()); system.setproperty("http.proxyport", gethttpport()); system.setproperty("https.proxyhost", gethttphost()); system.setproperty("https.proxyport", gethttpport());
2.
$> java -dhttp.proxyhost=proxyhosturl -dhttp.proxyport=proxyportnumber -dhttp.proxyuser=someusername -dhttp.proxypassword=somepassword helloworldclass
can tell me working recipe?
Comments
Post a Comment