public interface FallbackProvider extends ZuulFallbackProvider
ZuulFallbackProvider which adds possibility to choose proper response
based on the exception which caused the main method to fail.| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.client.ClientHttpResponse |
fallbackResponse(Throwable cause)
Provides a fallback response based on the cause of the failed execution.
|
fallbackResponse, getRouteorg.springframework.http.client.ClientHttpResponse fallbackResponse(Throwable cause)
cause - cause of the main method failureCopyright © 2018 Pivotal Software, Inc.. All rights reserved.