org.fusesource.restygwt.client.dispatcher
Class CachingDispatcherFilter

java.lang.Object
  extended by org.fusesource.restygwt.client.dispatcher.CachingDispatcherFilter
All Implemented Interfaces:
DispatcherFilter
Direct Known Subclasses:
RestfulCachingDispatcherFilter

public class CachingDispatcherFilter
extends Object
implements DispatcherFilter


Constructor Summary
CachingDispatcherFilter(QueueableCacheStorage cacheStorage, CallbackFactory cf)
          the one and only constructor
 
Method Summary
protected  CacheKey cacheKey(RequestBuilder builder)
           
 boolean filter(Method method, RequestBuilder builder)
          main filter method for a dispatcherfilter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingDispatcherFilter

public CachingDispatcherFilter(QueueableCacheStorage cacheStorage,
                               CallbackFactory cf)
the one and only constructor

Parameters:
cacheStorage -
cf -
Method Detail

cacheKey

protected CacheKey cacheKey(RequestBuilder builder)

filter

public boolean filter(Method method,
                      RequestBuilder builder)
main filter method for a dispatcherfilter.

Specified by:
filter in interface DispatcherFilter
Returns:
continue filtering or not


Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.