Package javax.servlet.http
Interface HttpUpgradeHandler
- 
 public interface HttpUpgradeHandlerInterface between the HTTP upgrade process and the new protocol.- Since:
- Servlet 3.1
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()This method is called after the upgraded connection has been closed.voidinit(WebConnection connection)This method is called once the request/response pair whereHttpServletRequest.upgrade(Class)is called has completed processing and is the point where control of the connection passes from the container to theHttpUpgradeHandler.
 
- 
- 
- 
Method Detail- 
initvoid init(WebConnection connection) This method is called once the request/response pair whereHttpServletRequest.upgrade(Class)is called has completed processing and is the point where control of the connection passes from the container to theHttpUpgradeHandler.- Parameters:
- connection- The connection that has been upgraded
 
 - 
destroyvoid destroy() This method is called after the upgraded connection has been closed.
 
- 
 
-