org.atmosphere.gwt20.managed
Class AtmosphereMessageInterceptor

java.lang.Object
  extended by org.atmosphere.cpr.AtmosphereInterceptorAdapter
      extended by org.atmosphere.gwt20.managed.AtmosphereMessageInterceptor
All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereInterceptor, 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 org.atmosphere.config.service.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
 
Constructor Summary
AtmosphereMessageInterceptor()
           
 
Method Summary
 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
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.cpr.AtmosphereInterceptor
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


Copyright © 2014. All Rights Reserved.