/** * Filter Order for {@link DebugFilter#filterOrder()} */ public static final int DEBUG_FILTER_ORDER = 1; /** * Filter Order for {@link org.springframework.cloud.netflix.zuul.filters.pre.FormBodyWrapperFilter#filterOrder()} */ public static final int FORM_BODY_WRAPPER_FILTER_ORDER = -1; /** * Filter Order for {@link org.springframework.cloud.netflix.zuul.filters.pre.PreDecorationFilter} */ public static final int PRE_DECORATION_FILTER_ORDER = 5; // 路由定位相关接口 /** * Filter Order for {@link org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter#filterOrder()} */ public static final int RIBBON_ROUTING_FILTER_ORDER = 10; /** * Filter Order for {@link org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter#filterOrder()} */ public static final int SEND_ERROR_FILTER_ORDER = 0; /** * Filter Order for {@link SendForwardFilter#filterOrder()} */ public static final int SEND_FORWARD_FILTER_ORDER = 500; /** * Filter Order for {@link org.springframework.cloud.netflix.zuul.filters.post.SendResponseFilter#filterOrder()} */ public static final int SEND_RESPONSE_FILTER_ORDER = 1000; /** * Filter Order for {@link org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter#filterOrder()} */ public static final int SIMPLE_HOST_ROUTING_FILTER_ORDER = 100; /** * filter order for {@link Servlet30WrapperFilter#filterOrder()} */ public static final int SERVLET_30_WRAPPER_FILTER_ORDER = -2; /** * filter order for {@link org.springframework.cloud.netflix.zuul.filters.pre.ServletDetectionFilter#filterOrder()} */ public static final int SERVLET_DETECTION_FILTER_ORDER = -3;