1 package de.halbekunst.juplo.cachecontrol;
4 import javax.servlet.http.HttpServletRequest;
10 public interface CacheMethodHandle {
13 int accepts(HttpServletRequest request);
14 int getCacheSeconds(HttpServletRequest request);
15 long getLastModified(HttpServletRequest request);
16 String getETag(HttpServletRequest request);
18 void cacheControl(HttpServletRequest request, Map<String, String> cacheControlMap);
19 Map<String,String> getAdditionalHeaders(HttpServletRequest request);