Class AtmosphereResourceStateRecovery

  • All Implemented Interfaces:
    AtmosphereInterceptor, AtmosphereConfigAware

    public class AtmosphereResourceStateRecovery
    extends java.lang.Object
    implements AtmosphereInterceptor
    This interceptor associates a AtmosphereResource to all Broadcaster the resource was added before the underlying connection got closed and resume. This allow an application to restore the state of the client before the disconnection occurred, and for the long-polling transport to return to it's previous state.
    Author:
    Jeanfrancois Arcand