public interface PushContextListener
PushContext notification when a message has been successfully pushed (@link PushContext#push) or
when a client disconnected (the connection has been closed).| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(String channel,
Object message)
Deprecated.
Invoked when a message has been successfully pushed to channel.
|
void |
onDisconnect(Object request)
Deprecated.
Return the original request that was suspended by the
PushServlet. |
void onComplete(String channel, Object message)
channel - A String used when calling the PushContext.push(String, Object)message - The message pushed.void onDisconnect(Object request)
PushServlet.request - Copyright © 2018. All rights reserved.