Hi,

I have started to work on a new library gt-http that tries to collect all usage 
of HTTP clients within Geotools. For the moment there are two client 
implementations. SimpleHttpClient in gt-main and MultithreadedHttpClient in 
gt-wms and gt-wfs-ng. You see there are actually three, but the last two are 
almost identical.

MultithreadedHttpClient have the advantage that it uses a connection pool 
favoring connections to the same host. I see the advantage in using this for 
all the listed projects. The disadvantage is that you would have a new 
dependency on the external library commons-httpclient.

In the near future this dependency will vanish when Geotools is ready for JDK 
11, and we could use the new HTTP client inside JDK. Before going that 
direction, it would be great to have one place for all HTTP clients.

If you really think it's horrible to include this dependency, I could turn it 
into a plugin.

Any opinions?


Best regards,

Roar Brænden


https://osgeo-org.atlassian.net/jira/software/c/projects/GEOT/issues/GEOT-6755 
<https://osgeo-org.atlassian.net/jira/software/c/projects/GEOT/issues/GEOT-6755>

https://github.com/geotools/geotools/pull/3256 
<https://github.com/geotools/geotools/pull/3256>


_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to