return dispatcher;
}
public FilterawareDispatcher retryingCachingXSRFProtectionDispatcher(){
DispatcherFilter xsrfDispatcherFilter = new XSRFTokenDispatcherFilter(xsrf);
CallbackFilter xsrfCallbackFilter = new XSRFTokenCallbackFilter(xsrf);
QueueableCacheStorage cache = new DefaultQueueableCacheStorage();
CallbackFilter cachingCallbackFilter = new CachingCallbackFilter(cache);
CallbackFactory callbackFactory = new RetryingCallbackFactory(xsrfCallbackFilter, cachingCallbackFilter);
DispatcherFilter cachingDispatcherFilter = new CachingDispatcherFilter(cache, callbackFactory);
FilterawareDispatcher dispatcher = new DefaultFilterawareDispatcher(xsrfDispatcherFilter, cachingDispatcherFilter);
return dispatcher;
}