lder.html" title="class in jakarta.ws.rs.core"><code>NewCookie.Builder</code></a> instead.</div>
</div>
<div class="block">Create a new instance supplementing the information in the supplied cookie.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>cookie</code> - the cookie to clone.</dd>
<dd><code>comment</code> - the comment.</dd>
<dd><code>maxAge</code> - the maximum age of the cookie in seconds.</dd>
<dd><code>secure</code> - specifies whether the cookie will only be sent over a secure connection