| Modifier and Type | Method and Description |
|---|---|
Connection.CloseListener |
Connection.getCloseListener()
Returns the same close listener that is passed for creating connection in
WebSocketEngine.UpgradeInfo#createConnection(Writer, CloseListener). |
| Modifier and Type | Method and Description |
|---|---|
Connection |
WebSocketEngine.UpgradeInfo.createConnection(Writer writer,
Connection.CloseListener closeListener)
Creates a connection if the upgrade is successful.
|
ClientEngine.ClientUpgradeInfo |
ClientEngine.processResponse(UpgradeResponse upgradeResponse,
Writer writer,
Connection.CloseListener closeListener)
Process handshake and return
ClientEngine.ClientUpgradeInfo with handshake status (ClientEngine.ClientUpgradeStatus). |
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.