I am currently using HttpClient in JDK11 (not Apache's HttpClient). These two HttpClients are similar, but I noticed that Apache's HttpClient can retry the request failure by overriding the HttpRequestRetryHandler
class. But I did not find a similar implementation in JDK's HttpClient. How should I implement a similar failure retry mechanism?
Anyone's suggestions would be greatly appreciated.