public FilterawareDispatcher restfulRetryingCachingXSRFProtectionDispatcher(){
DispatcherFilter xsrfDispatcherFilter = new XSRFTokenDispatcherFilter(xsrf);
CallbackFilter xsrfCallbackFilter = new XSRFTokenCallbackFilter(xsrf);
QueueableCacheStorage cache = new DefaultQueueableCacheStorage();
CallbackFilter cachingCallbackFilter = new RestfulCachingCallbackFilter(cache);
CallbackFactory callbackFactory = new RetryingCallbackFactory(xsrfCallbackFilter, cachingCallbackFilter);
DispatcherFilter cachingDispatcherFilter = new RestfulCachingDispatcherFilter(cache, callbackFactory);