T - public interface UpgradeHandler<T>
AsyncHandler.STATE.UPGRADE is returned. Currently the library only support WebSocket
as type.| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable t)
If the upgrade fail.
|
void |
onSuccess(T t)
If the HTTP Upgrade succeed (response's status code equals 101), the
AsyncHttpProvider will invoke that
method |
void onSuccess(T t)
AsyncHttpProvider will invoke that
methodt - an Upgradable entityCopyright © 2018. All Rights Reserved.