@Override
    public String toString() {
        final StringBuilder buffer = new StringBuilder();
        buffer.append('[');
        if (this.secure) {
            buffer.append("(secure)");
        }
        buffer.append(this.host);
        buffer.append(':');
        buffer.append(Integer.toString(this.port));
        buffer.append(this.path);
        buffer.append(']');
        return buffer.toString();
    }
CookieOrigin class encapsulates details of an origin server that
are relevant when parsing, validating or matching HTTP cookies.

@since 4.0
ngrinder-runtime/src/main/java/org/apache/hc/client5/http/cookie/CookieOrigin.java