class ZuulStrategyFilterResolver {
    public static void setHeader(RequestContext context, String headerName, String headerValue, Boolean zuulHeaderPriority) {<FILL_FUNCTION_BODY>}

    public static void ignoreHeader(RequestContext context, String headerName, Boolean zuulHeaderPriority, Boolean zuulOriginalHeaderIgnored) {
        if (zuulHeaderPriority && zuulOriginalHeaderIgnored) {
            ignoreHeader(context, headerName);
        }
    }

    public static void ignoreHeader(RequestContext context, String headerName) {
        String header = context.getRequest().getHeader(headerName);
        if (StringUtils.isNotEmpty(header)) {
            // 通过Zuul Filter的Header直接把外界的Header替换成空字符串
            context.addZuulRequestHeader(headerName, StringUtils.EMPTY);
        }
    }
}

        if (StringUtils.isEmpty(headerValue)) {
            return;
        }

        if (zuulHeaderPriority) {
            // 通过Zuul Filter的Header直接把外界的Header替换掉，并传递
            context.addZuulRequestHeader(headerName, headerValue);
        } else {
            // 在外界的Header不存在的前提下，通过Zuul Filter的Header传递
            String header = context.getRequest().getHeader(headerName);
            if (StringUtils.isEmpty(header)) {
                context.addZuulRequestHeader(headerName, headerValue);
            }
        }
    
<no_super_class>