RandomSec/main/src/com/google/refine/operations
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
..
cell [FEAT]Adds new options for split (#2471) 2020-06-15 19:30:18 +02:00
column Refactor HTTP code into common module & Improve Fetch URL - fixes #3129 (#3237) 2020-12-07 00:38:36 -05:00
recon Better error handling for reconciliation process - fixes #2590 (#2671) 2020-06-23 21:54:54 +02:00
row Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
EngineDependentMassCellOperation.java Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
EngineDependentOperation.java Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
OnError.java Jackson serialization for column operations 2018-11-30 19:19:01 +09:00
OperationRegistry.java Migrate importers to use Jackson classes 2018-11-30 19:23:08 +09:00
OperationResolver.java Fix JSON history corruption. 2019-04-18 20:31:41 +01:00
UnknownOperation.java Fix JSON history corruption. 2019-04-18 20:31:41 +01:00