void onUpgradeTo(ByteBuffer prefilled)
Callback method invoked when this connection is upgraded.
This must be called before
prefilled- An optional buffer that can contain prefilled data. Typically this results from an upgrade of one protocol to the other where the old connection has buffered data destined for the new connection. The new connection must take ownership of the buffer and is responsible for returning it to the buffer pool
Copyright © 1995–2017 Webtide. All rights reserved.