public interface HttpUpgradeHandlerInterface between the HTTP upgrade process and the new protocol.
- Servlet 3.1
void init(WebConnection connection)This method is called once the request/response pair where
HttpServletRequest.upgrade(Class)is called has completed processing and is the point where control of the connection passes from the container to the
connection- The connection that has been upgraded
void destroy()This method is called after the upgraded connection has been closed.