Class PushSessionTracker

java.lang.Object
com.vaadin.kubernetes.starter.sessiontracker.push.PushSessionTracker
All Implemented Interfaces:
PushSendListener

public class PushSessionTracker extends Object implements PushSendListener
A PushSendListener that serialize HTTP session when messages are pushed to the client. It has the same scope of SessionTrackerFilter but for PUSH communication.
  • Constructor Details

    • PushSessionTracker

      public PushSessionTracker(SessionSerializer sessionSerializer)
  • Method Details

    • onMessageSent

      public void onMessageSent(org.atmosphere.cpr.AtmosphereResource resource)
      Description copied from interface: PushSendListener
      Invoked whenever a UIDL message has been sent to the client.
      Specified by:
      onMessageSent in interface PushSendListener
      Parameters:
      resource - the AtmosphereResource used to process the message