public abstract class LoadBalancedRecoveryCallback<T,R> extends Object implements org.springframework.retry.RecoveryCallback<T>
RecoveryCallback
which relies on an implemtation
of RetryableStatusCodeException
to contain the last response object from
the requestConstructor and Description |
---|
LoadBalancedRecoveryCallback() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createResponse(R response,
URI uri)
Create the response returned in the
RecoveryCallback |
T |
recover(org.springframework.retry.RetryContext context) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.