@Override
    protected void doApply(ApiResponse response, IPolicyContext context, RateLimitingConfig config,
            IPolicyChain<ApiResponse> chain) {
        Map<String, String> headers = context.getAttribute("rate-limit-response-headers", null); //$NON-NLS-1$
        if (headers != null) {
            response.getHeaders().putAll(headers);
        }
        super.doApply(response, context, config, chain);
    }
@ Override protected void doApply ( ApiResponse response , IPolicyContext context , RateLimitingConfig config , IPolicyChain < ApiResponse > chain ) { Map < String , String > headers = context . getAttribute ( "rate-limit-response-headers" , null ) ; if ( headers != null ) { response . getHeaders ( ) . putAll ( headers ) ; } super . doApply ( response , context , config , chain ) ; }
@see io.apiman.gateway.engine.policies.AbstractMappedPolicy#doApply(io.apiman.gateway.engine.beans.ApiResponse, io.apiman.gateway.engine.policy.IPolicyContext, java.lang.Object, io.apiman.gateway.engine.policy.IPolicyChain)