Start the HTTP upgrade process and pass the connection to the provided protocol handler once the current request/response pair has completed processing. Calling this method sets the response status to {@link HttpServletResponse#SC_SWITCHING_PROTOCOLS} and flushes the response.Protocol specific headers must have already been set before this method is called.
@throws IOException if an I/O error occurred during the upgrade
@throws ServletException if the given httpUpgradeHandlerClass fails to be instantiated
@since Servlet 3.1
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.