T - - response type to returnR - - response type from the HTTP clientpublic abstract class LoadBalancedRecoveryCallback<T,R> extends Object implements org.springframework.retry.RecoveryCallback<T>
RecoveryCallback which relies on an implementation of
RetryableStatusCodeException to contain the last response object from the
request.| Constructor and Description |
|---|
LoadBalancedRecoveryCallback() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
createResponse(R response,
URI uri)
Creates the response returned in the
RecoveryCallback. |
T |
recover(org.springframework.retry.RetryContext context) |
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.