org.rythmengine.spring.web.CacheInterceptor Maven / Gradle / Ivy
package org.rythmengine.spring.web;
import org.rythmengine.RythmEngine;
import org.rythmengine.utils.IO;
import org.rythmengine.utils.S;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* Created by luog on 5/12/13.
*/
public class CacheInterceptor extends HandlerInterceptorAdapter {
static class KeyAndTTL {
String key;
String ttl;
}
private RythmEngine engine;
private Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy