org.atmosphere.samples.server
Class RPCEventDeserializerInterceptor

java.lang.Object
  extended by org.atmosphere.cpr.AtmosphereInterceptorAdapter
      extended by org.atmosphere.samples.server.RPCEventDeserializerInterceptor
All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereInterceptor

public class RPCEventDeserializerInterceptor
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.

Author:
Jeanfrancois Arcand

Constructor Summary
RPCEventDeserializerInterceptor()
           
 
Method Summary
 org.atmosphere.cpr.Action inspect(org.atmosphere.cpr.AtmosphereResource r)
           
 
Methods inherited from class org.atmosphere.cpr.AtmosphereInterceptorAdapter
configure, postInspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCEventDeserializerInterceptor

public RPCEventDeserializerInterceptor()
Method Detail

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 © 2013. All Rights Reserved.