public class WsHttpUpgradeHandler extends Object implements HttpUpgradeHandler
| Constructor and Description | 
|---|
| WsHttpUpgradeHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()This method is called after the upgraded connection has been closed. | 
| void | init(WebConnection connection)This method is called once the request/response pair where the upgrade
 is initiated has completed processing and is the point where control of
 the connection passes from the container to the
  HttpUpgradeHandler. | 
| void | preInit(Endpoint ep,
       ServerEndpointConfig serverEndpointConfig,
       WsServerContainer wsc,
       WsHandshakeRequest handshakeRequest,
       List<Extension> negotiatedExtensionsPhase2,
       String subProtocol,
       Transformation transformation,
       Map<String,String> pathParameters,
       boolean secure) | 
public void preInit(Endpoint ep, ServerEndpointConfig serverEndpointConfig, WsServerContainer wsc, WsHandshakeRequest handshakeRequest, List<Extension> negotiatedExtensionsPhase2, String subProtocol, Transformation transformation, Map<String,String> pathParameters, boolean secure)
public void init(WebConnection connection)
HttpUpgradeHandlerHttpUpgradeHandler.init in interface HttpUpgradeHandlerconnection - The connection that has been upgradedpublic void destroy()
HttpUpgradeHandlerdestroy in interface HttpUpgradeHandlerCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.