public String encode(String str) { return HtmlEncoder.encodeAll(str);
public String encode(Object obj) { return HtmlEncoder.encodeAll(toString(obj));
    public String encode(String str) {        return HtmlEncoder.encodeAll(str);    }