com.github.httl
        httl
        1.0.11
    

import java.text.ParseException;
import java.util.HashMap;
import java.util.Map;
import httl.Engine;
import httl.Template;

public static void main(String[] args) throws ParseException {
    String str = "hello,${name}";
    Map params = new HashMap<>(); 
    params.put("name", "httl");
    Engine engine = Engine.getEngine();
    Template template = engine.parseTemplate(str);
    String result = (String) template.evaluate(params);
    System.out.printf(result);
}