I am looking for a way to configure the freebase java api to connect to freebase through a proxy. I have set up sytem properties
System.setProperty("http.proxyHost", "proxy");
System.setProperty("http.proxyPort", "8080");
System.setProperty("http.proxySet", "true");
but it doesn’t have any effect. Could anybody help?
Nop, it does not work. I do not need to do authentication. I have found another solution. I have modified the freebase client — the source code is freely available. The freebase client uses HttpClient4 , so you need to create HttpProxy object (and set your proxy details), and provide it to HttpClient.