Package org.atmosphere.interceptor

Interface Summary
AllowInterceptor A marker interface that does nothing except used by AtmosphereInterceptor to modify the default behavior of any functionality.
InvokationOrder A simple marker class to use with AtmosphereInterceptor in order to determine in which position in the interceptor's chain the AtmosphereInterceptor must be installed.
 

Class Summary
AndroidAtmosphereInterceptor Fix for the Android 2.2.x bogus HTTP implementation.
AtmosphereResourceLifecycleInterceptor This AtmosphereInterceptor implementation automatically suspends the intercepted AtmosphereResource and takes care of managing the response's state (flushing, resuming, etc.) when a Broadcaster.broadcast(java.lang.Object) is invoked.
AtmosphereResourceStateRecovery This interceptor associates a AtmosphereResource to all Broadcaster the resource was added before the underlying connection got closed and resume.
AtmosphereResourceStateRecovery.BroadcasterTracker  
BroadcastOnPostAtmosphereInterceptor This read the request's body and invoke the associated Broadcaster of an AtmosphereResource.
CorsInterceptor CORS support.
DefaultHeadersInterceptor At interceptor for customizing the following headers: Expire, Cache-Control, Pragma, Access-Control-Origin and Access-Control-Allow-Credential.
HeartbeatInterceptor An interceptor that send whitespace every 30 seconds.
JavaScriptProtocol An Interceptor that send back to a websocket and http client the value of HeaderConfig.X_ATMOSPHERE_TRACKING_ID and HeaderConfig.X_CACHE_DATE
JSONPAtmosphereInterceptor JSONP Transport Support.
NginxInterceptor Add proper header for Nginx's buffering http://wiki.nginx.org/HttpProxyModule#proxy_buffering
This interceptor set the 'X-Accel-Buffering : No' on the AtmosphereResponse before it gets suspended.
OnDisconnectInterceptor When the browser close the connection, the atmosphere.js will send an unsubscribe message to tell framework the browser is disconnecting.
PaddingAtmosphereInterceptor Padding interceptor for Browser that needs whitespace when streaming is used.
SessionCreationInterceptor An interceptor that create an HttpSession on the fist received request so transport like long-polling can share the session with request coming after the suspend operation.
ShiroInterceptor Shiro Interceptor, it creates a request attribute (subject) that contains the true Subject.
SSEAtmosphereInterceptor HTML 5 Server-Side Events implementation.
SuspendTrackerInterceptor An interceptor that keep track of AtmosphereResource.uuid() and disable invocation of AtmosphereResourceEventListenerAdapter.onSuspend(org.atmosphere.cpr.AtmosphereResourceEvent) and AtmosphereResourceEventListenerAdapter.onPreSuspend(org.atmosphere.cpr.AtmosphereResourceEvent)
TrackMessageSizeB64Interceptor An AtmosphereInterceptor that adds message size and delimiter, and encodes the message in Base64.
 

Enum Summary
InvokationOrder.PRIORITY  
 



Copyright © 2014. All Rights Reserved.