Package org.atmosphere.interceptor
package org.atmosphere.interceptor
-
ClassDescriptionA marker interface that does nothing except used by
AtmosphereInterceptorto modify the default behavior of any functionality.Fix for the Android 2.2.x bogus HTTP implementation.ThisAtmosphereInterceptorimplementation automatically suspends the interceptedAtmosphereResourceand takes care of managing the response's state (flushing, resuming, etc.) when aBroadcaster.broadcast(java.lang.Object)is invoked.This interceptor associates aAtmosphereResourceto allBroadcasterthe resource was added before the underlying connection got closed and resume.This read the request's body and invoke the associatedBroadcasterof anAtmosphereResource.At interceptor for customizing the following headers: Expire, Cache-Control, Pragma, Access-Control-Origin and Access-Control-Allow-Credential.CORS support.An interceptor that send whitespace every in 60 seconds by default.An Interceptor that track idleAtmosphereResourceand close it.A simple marker class to use withAtmosphereInterceptorin order to determine in which position in the interceptor's chain the AtmosphereInterceptor must be installed.An Interceptor that send back to a websocket and http client the value ofHeaderConfig.X_ATMOSPHERE_TRACKING_ID.JSONP Transport Support.Add proper header for Nginx's buffering http://wiki.nginx.org/HttpProxyModule#proxy_buffering
This interceptor set the 'X-Accel-Buffering : No' on theAtmosphereResponsebefore it gets suspended.Old 8k Padding interceptor for Browser that needs whitespace when streaming is used.When the browser close the connection, the atmosphere.js will send an unsubscribe message to tell framework the browser is disconnecting.Padding interceptor for Browser that needs whitespace when streaming is used.An interceptor that create anHttpSessionon the fist received request so transport like long-polling can share the session with request coming after the suspend operation.Shiro Interceptor, it creates a request attribute (subject) that contains the true Subject.An Atmosphere interceptor to enable a simple rest binding protocol.HTML 5 Server-Sent Events implementation.An interceptor that keep track ofAtmosphereResource.uuid()and disable invocation ofAtmosphereResourceEventListenerAdapter.onSuspend(org.atmosphere.cpr.AtmosphereResourceEvent)andAtmosphereResourceEventListenerAdapter.onPreSuspend(org.atmosphere.cpr.AtmosphereResourceEvent)AnAtmosphereInterceptorthat adds message size and delimiter, and encodes the message in Base64.Mark WebSocket Message as suspended.