public class FallbackBreakerHandler extends Object implements FakeResponseHandler, org.springframework.beans.factory.InitializingBean
| 构造器和说明 |
|---|
FallbackBreakerHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
List<FallbackRule> |
getAllFallbackRules() |
List<FallbackRule> |
getFallbackRules(String serviceId,
String uriKey) |
Object |
handle(org.springframework.web.server.ServerWebExchange exchange,
boolean preHandle) |
int |
order() |
boolean |
removeFallbackRule(FallbackRule rule) |
String |
saveFallbackRule(FallbackRule rule) |
boolean |
withHitCacheFallbackRule(org.springframework.web.server.ServerWebExchange exchange,
ApiInfo apiInfo) |
public Object handle(org.springframework.web.server.ServerWebExchange exchange, boolean preHandle)
handle 在接口中 FakeResponseHandlerpublic List<FallbackRule> getAllFallbackRules()
public List<FallbackRule> getFallbackRules(String serviceId, String uriKey)
public String saveFallbackRule(FallbackRule rule)
public boolean removeFallbackRule(FallbackRule rule)
public boolean withHitCacheFallbackRule(org.springframework.web.server.ServerWebExchange exchange,
ApiInfo apiInfo)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic int order()
order 在接口中 FakeResponseHandlerCopyright © 2025. All rights reserved.