Class AtmosphereMessageInterceptor

  • All Implemented Interfaces:
    org.atmosphere.cpr.AtmosphereInterceptor, org.atmosphere.inject.AtmosphereConfigAware, org.atmosphere.interceptor.InvokationOrder

    public class AtmosphereMessageInterceptor
    extends org.atmosphere.cpr.AtmosphereInterceptorAdapter
    De-serialize GWT object into a String so we can use Broadcaster and non GWT application as client. All AtmosphereInterceptor will work out of the box without requiring any change.

    This interceptor is normally used with the ManagedService annotation and must always be used with GwtRpcInterceptor.

    Author:
    Jeanfrancois Arcand
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.atmosphere.interceptor.InvokationOrder

        org.atmosphere.interceptor.InvokationOrder.PRIORITY
    • Field Summary

      • Fields inherited from interface org.atmosphere.interceptor.InvokationOrder

        AFTER_DEFAULT, BEFORE_DEFAULT, FIRST_BEFORE_DEFAULT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(org.atmosphere.cpr.AtmosphereConfig config)  
      org.atmosphere.cpr.Action inspect​(org.atmosphere.cpr.AtmosphereResource r)  
      • Methods inherited from class org.atmosphere.cpr.AtmosphereInterceptorAdapter

        destroy, postInspect, priority, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AtmosphereMessageInterceptor

        public AtmosphereMessageInterceptor()
    • Method Detail

      • configure

        public void configure​(org.atmosphere.cpr.AtmosphereConfig config)
        Specified by:
        configure in interface org.atmosphere.inject.AtmosphereConfigAware
        Overrides:
        configure in class org.atmosphere.cpr.AtmosphereInterceptorAdapter
      • inspect

        public org.atmosphere.cpr.Action inspect​(org.atmosphere.cpr.AtmosphereResource r)
        Specified by:
        inspect in interface org.atmosphere.cpr.AtmosphereInterceptor
        Overrides:
        inspect in class org.atmosphere.cpr.AtmosphereInterceptorAdapter