responses.put("cache-control", "max-age=" + LOCAL_FILE_MAX_AGE);
responses.put("expires", format.format(
new Date(now.getTime() + LOCAL_FILE_MAX_AGE * 1000)));
// create a "fake" accessor
HttpResponseHeaderAccessor accessor = new HttpResponseHeaderAccessor() {
// javadoc inherited
public String getProtocol() {
return "HTTP";
}