public class UpgradeConnection extends AbstractConnection
Eventually, upon successful Upgrade request/response, this connection swaps itself out for the WebSocektClientConnection handler.
| Modifier and Type | Class and Description |
|---|---|
class |
UpgradeConnection.SendUpgradeRequest |
Connection.ListenerEXECUTE_ONFILLABLE| Constructor and Description |
|---|
UpgradeConnection(EndPoint endp,
Executor executor,
ConnectPromise connectPromise) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect(boolean onlyOutput) |
void |
onFillable() |
void |
onOpen() |
addListener, block, close, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize, toStringpublic UpgradeConnection(EndPoint endp, Executor executor, ConnectPromise connectPromise)
public void disconnect(boolean onlyOutput)
public void onFillable()
onFillable in class AbstractConnectionpublic void onOpen()
onOpen in interface ConnectiononOpen in class AbstractConnectionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.