interface in java.lang" class="external-link">Class</a>&lt;T&gt;&nbsp;handlerClass)</span>
                                  throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a>,
<a href="../ServletException.html" title="class in jakarta.servlet">ServletException</a></span></div>
<div class="block">Creates an instance of <code>HttpUpgradeHandler</code> for a 