d>
</dl>
</section>
</li>
<li>
<section class="detail" id="upgrade(java.lang.Class)">
<h3>upgrade</h3>
<div class="member-signature"><span class="type-parameters">&lt;T extends <a href="HttpUpgradeHandler.html" title="interface in jakarta.servlet.http">HttpUpgradeHandler</a>&gt;</span>&nbsp;<span class="return-type">T</span>&nbsp;<span class="element-name">upgrade</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or 