public static interface WebSocketEngine.UpgradeInfo
| Modifier and Type | Method and Description |
|---|---|
Connection |
createConnection(Writer writer,
Connection.CloseListener closeListener)
Creates a connection if the upgrade is successful.
|
WebSocketEngine.UpgradeStatus |
getStatus()
Returns the status of HTTP request upgrade.
|
WebSocketEngine.UpgradeStatus getStatus()
Connection createConnection(Writer writer, Connection.CloseListener closeListener)
writer - transport writer that actually writes tyrus websocket
data to underlying connection.closeListener - transport listener for receiving tyrus close
notifications.Copyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.