@Override
    public String getDomain() {
        return cookieDomain;
    }
Returns domain attribute of the cookie.

@return the value of the domain attribute

@see #setDomain(java.lang.String)
httpclient5/src/main/java/org/apache/hc/client5/http/impl/cookie/BasicClientCookie.java