Class TrackMessageSizeInterceptor

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

public class TrackMessageSizeInterceptor extends AtmosphereInterceptorAdapter
An AtmosphereInterceptor that add a message size and delimiter.

The special String is configurable using ApplicationConfig.MESSAGE_DELIMITER and you can configure this class to exclude some response's content-type by using the ApplicationConfig.EXCLUDED_CONTENT_TYPES

Author:
Jeanfrancois Arcand