Package org.atmosphere.interceptor
Class PaddingAtmosphereInterceptor.ForcePreSuspend
java.lang.Object
org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
org.atmosphere.interceptor.PaddingAtmosphereInterceptor.ForcePreSuspend
- All Implemented Interfaces:
AtmosphereResourceEventListener,AtmosphereResourceHeartbeatEventListener,AllowInterceptor
- Enclosing class:
PaddingAtmosphereInterceptor
public final class PaddingAtmosphereInterceptor.ForcePreSuspend
extends AtmosphereResourceEventListenerAdapter
implements AllowInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
AtmosphereResourceEventListenerAdapter.OnBroadcast, AtmosphereResourceEventListenerAdapter.OnClose, AtmosphereResourceEventListenerAdapter.OnDisconnect, AtmosphereResourceEventListenerAdapter.OnHeartbeat, AtmosphereResourceEventListenerAdapter.OnPreSuspend, AtmosphereResourceEventListenerAdapter.OnResume, AtmosphereResourceEventListenerAdapter.OnSuspend, AtmosphereResourceEventListenerAdapter.OnThrowable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when theAtmosphereResource.suspend()is in the process of being suspended but nothing has yet been written on the connection.Methods inherited from class org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
onBroadcast, onClose, onDisconnect, onHeartbeat, onResume, onSuspend, onThrowable
-
Constructor Details
-
ForcePreSuspend
-
-
Method Details
-
onPreSuspend
Description copied from interface:AtmosphereResourceEventListenerInvoked when theAtmosphereResource.suspend()is in the process of being suspended but nothing has yet been written on the connection. An implementation could configure the request's headers, flush some data, etc. during that stage.- Specified by:
onPreSuspendin interfaceAtmosphereResourceEventListener- Overrides:
onPreSuspendin classAtmosphereResourceEventListenerAdapter- Parameters:
event- aAtmosphereResourceEvent
-