withRetry


Description:

public HttpClient withRetry (Retry retry)

Sets retry strategy used by this client.

Parameters:

retry

retry policy.

Returns:

this client.