withRetry method Null safety
- RetryHandler<
T> retryHandler
Receives a custom retry implementation and enables retry mechanism.
Implementation
PaylikeRequestBuilder<T> withRetry(RetryHandler<T> retryHandler) {
this.retryHandler = retryHandler;
retryEnabled = true;
return this;
}