public interface FallbackProvider
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.client.ClientHttpResponse |
fallbackResponse(String route,
Throwable cause)
Provides a fallback response based on the cause of the failed execution.
|
String |
getRoute()
The route this fallback will be used for.
|
String getRoute()
org.springframework.http.client.ClientHttpResponse fallbackResponse(String route, Throwable cause)
route - The route the fallback is forcause - cause of the main method failure, may be nullCopyright © 2019 Pivotal Software, Inc.. All rights reserved.