@Override
    public void setSecure (final boolean secure) {
        isSecure = secure;
    }
Sets the secure attribute of the cookie.
<p>
When {@code true} the cookie should only be sent
using a secure protocol (https).  This should only be set when
the cookie's originating server used a secure protocol to set the
cookie's value.

@param secure The value of the secure attribute

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