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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaddingAtmosphereInterceptor.ForcePreSuspend
public PaddingAtmosphereInterceptor.ForcePreSuspend(AtmosphereResponse response)
onPreSuspend
public void onPreSuspend(AtmosphereResourceEvent event)
- Description copied from interface:
AtmosphereResourceEventListener
- Invoked when the
AtmosphereResource.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:
onPreSuspend in interface AtmosphereResourceEventListener- Overrides:
onPreSuspend in class AtmosphereResourceEventListenerAdapter
- Parameters:
event - a AtmosphereResourceEvent
Copyright © 2014. All Rights Reserved.