posted 8 years ago
Hi all,
I am using Jersey client to hit a RESTFul endpoint. If connection times out I wanted to retry BUT I wanted to put some delay before next retry.
Any ideas how to do it?
Currently, I am using Thread.sleep(<some time in ms>);
Is that good enough? (My RESTFul client code is in my server calling the endpoint).
Thanks
Maulin