Unnötigen Parameter in CacheControl.decorate() entfernt
[percentcodec] / cachecontrol / src / main / java / de / halbekunst / juplo / cachecontrol / CacheMethodHandle.java
1 package de.halbekunst.juplo.cachecontrol;
2
3 import java.util.Map;
4 import javax.servlet.http.HttpServletRequest;
5
6 /**
7  *
8  * @author kai
9  */
10 public interface CacheMethodHandle {
11   boolean isZipped();
12   long getTimestamp();
13   int accepts(HttpServletRequest request);
14   int getCacheSeconds(HttpServletRequest request);
15   long getLastModified(HttpServletRequest request);
16   String getETag(HttpServletRequest request);
17   boolean isETagWeak();
18   void cacheControl(HttpServletRequest request, Map<String, String> cacheControlMap);
19   Map<String,String> getAdditionalHeaders(HttpServletRequest request);
20 }