class HeaderFunctions {

    public static Consumer<EvalScope> setAlways(String headerName, String expression) {
        final Function<EvalScope, String> exprEval = newExpressionEvaluator(expression);
        return (scope) -> {
            String value = exprEval.apply(scope);
            scope.headers.set(headerName, value);
        };
    }

}