public class SentinelZuulPreFilter
extends com.netflix.zuul.ZuulFilter
proxyId and all customized API as resources.
When a BlockException caught, the filter will try to find a fallback to execute.| Constructor and Description |
|---|
SentinelZuulPreFilter() |
SentinelZuulPreFilter(int order) |
| Modifier and Type | Method and Description |
|---|---|
int |
filterOrder()
This run before route filter so we can get more accurate RT time.
|
String |
filterType() |
Object |
run() |
boolean |
shouldFilter() |
public SentinelZuulPreFilter()
public SentinelZuulPreFilter(int order)
public String filterType()
filterType in class com.netflix.zuul.ZuulFilterpublic int filterOrder()
filterOrder in class com.netflix.zuul.ZuulFilterpublic boolean shouldFilter()
public Object run() throws com.netflix.zuul.exception.ZuulException
com.netflix.zuul.exception.ZuulExceptionCopyright © 2021 Alibaba Group. All rights reserved.