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, org.atmosphere.interceptor.InvokationOrder

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

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
RPCEventDeserializerInterceptor()
           
 
Method Summary
 org.atmosphere.cpr.Action inspect(org.atmosphere.cpr.AtmosphereResource r)
           
 
Methods inherited from class org.atmosphere.cpr.AtmosphereInterceptorAdapter
configure, postInspect, priority, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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.