opendatatrentino / jackan

Java client to access CKAN repositories
http://opendatatrentino.github.io/jackan
Other
19 stars 13 forks source link

Add support for Http Proxy #12

Closed dmvk closed 9 years ago

DavidLeoni commented 9 years ago

Thanks for the contribution!

Since the CkanClient is immutable, I removed the setProxy method and added the proxy as parameter to the constructor.

DavidLeoni commented 8 years ago

In latest release 0.4.2 the proxy can't be set anymore in the constructor.

Instead, you can set it by calling something like

CkanClient myclient = CkanClient.builder()
.setCatalogUrl("http://mycatalog.com")
.setProxy("http://myproxy.com:1234")
.build();