|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface UpgradeHandler<T>
Invoked when an AsyncHandler.STATE.UPGRADE
is returned. Currently the library only support WebSocket
as type.
Method Summary | |
---|---|
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 |
Method Detail |
---|
void onSuccess(T t)
AsyncHttpProvider
will invoke that
method
t
- an Upgradable entityvoid onFailure(Throwable t)
t
- a Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |