Class TrackMessageSizeB64Interceptor

java.lang.Object
org.atmosphere.cpr.AtmosphereInterceptorAdapter
org.atmosphere.interceptor.TrackMessageSizeB64Interceptor
All Implemented Interfaces:
AtmosphereInterceptor, AtmosphereConfigAware, InvokationOrder

public class TrackMessageSizeB64Interceptor extends AtmosphereInterceptorAdapter
An AtmosphereInterceptor that adds message size and delimiter, and encodes the message in Base64. This allows for broadcasting of messages containing the delimiter character.

You can configure this class to exclude some response's content-type by using the ApplicationConfig.EXCLUDED_CONTENT_TYPES

Author:
Jeanfrancois Arcand, Martin Mačura