Class AtmosphereResourceStateRecovery

java.lang.Object
org.atmosphere.interceptor.AtmosphereResourceStateRecovery
All Implemented Interfaces:
AtmosphereInterceptor, AtmosphereConfigAware

public class AtmosphereResourceStateRecovery extends 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