NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
HTTPSession is some relatively new code (starting in 4.2) to hide the apache httpclient library. Our goal is to eventually move to apache httpclient 4 with minimal disruption. I should have asked earlier: what version of netcdf-java are you using? =Dennis Heimbigner Brian Schlining wrote:
Hi Dennis,Thanks for responding.Brian- I provided a fix that will go into a minor release of 4.2; should be available shortly.Great!Basically there will be two procedures 1. HTTPSession.setGlobalSimpleProxy(String host, int port) 2. HTTPSession.setSimpleProxy(String host, int port) The remaining issue is how to get the HTTPSession instance. Do you normally use the HttpClientManager class to set up connections?No, I've never used that class. If you can provide a static method on the HttpClientManger to fetch the current and global sessions, that would work. p.s. Is 4.3 moving to HttpComponents instead of HttpClient
netcdf-java
archives: