RandomSec/main
Tom Morris 14f43dc2cc
Refactor HTTP code into common module & Improve Fetch URL - fixes #3129 (#3237)
* Refactor HTTP code into a common utility class 

Centralizes the six (slightly) different implementations to use
a common Apache HTTP Client 5 implementation which implements our
strategies for retries, timeouts, error handling, etc.

Apache HTTP Client 5 adds support for Retry-After headers, HTTP/2,
and a bunch of other stuff under the covers.

Moves request delay to a request interceptor and fixes calculation
of the delay (again). Increase retries from 1x to 3x and use delay*2
as the default retry interval, if no Retry-After header. Uses an 
exponential backoff strategy for multiple retries.

* Reuses HTTP client across requests
* Use IOException instead of Exception for HTTP errors
2020-12-07 00:38:36 -05:00
..
IDEs/eclipse Thad no longer supports Netbeans config (#2466) 2020-03-27 09:30:30 +01:00
src Refactor HTTP code into common module & Improve Fetch URL - fixes #3129 (#3237) 2020-12-07 00:38:36 -05:00
tests Refactor HTTP code into common module & Improve Fetch URL - fixes #3129 (#3237) 2020-12-07 00:38:36 -05:00
webapp Fix UI of scatterplot-facet and dialog - fixes #3228 (#3338) 2020-11-28 20:16:23 -05:00
pom.xml Refactor HTTP code into common module & Improve Fetch URL - fixes #3129 (#3237) 2020-12-07 00:38:36 -05:00