enterprise.authentication.mechanism.http">HttpMessageContext</a></span>&nbsp;<span class="element-name">withRequest</span><wbr><span class="parameters">(<a href="../../../../../servlet/http/HttpServletRequest.html" title="interface in jakarta.servlet.http">HttpServletRequest</a>&nbsp;request)</span></div>
<div class="block">Sets the request object.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>request</code> - the request object to be set.</dd>
<dt>Returns:</dt>
<dd>the HttpMessageContext instance