if ("localhost".equals(host) || "127.0.0.1".equals(host)) {
if (LOCALHOST.equals(host) || LOCALHOST_IPV4.equals(host) || LOCALHOST_IPV6_LONG.equals(host) || LOCALHOST_IPV6_SHORT.equals(host)) {
    protected void resetHostIfLocal() {        if ("localhost".equals(host) || "127.0.0.1".equals(host)) {            host = null;            return;        }    }