see http://www.w3.org/protocols/rfc2616/rfc2616-sec14.html to mark a response as `` never expires , '' an origin server sends an expires date approximately one year from the time the response is sent . http/1 .1 servers should not send expires dates more than one year in the future . concode_field_sep int GZIP_MAGIC_NUMBER_BYTE_1 concode_elem_sep Map<String,Serializable> requestAttributes concode_elem_sep long timeToLiveSeconds concode_elem_sep long ONE_YEAR_IN_SECONDS concode_elem_sep Date created concode_elem_sep boolean storeGzipped concode_elem_sep Pattern PATTERN_CACHE_DIRECTIVE concode_elem_sep HttpDateFormatter httpDateFormatter concode_elem_sep int FOUR_KB concode_elem_sep int GZIP_MAGIC_NUMBER_BYTE_2 concode_elem_sep List<SerializableCookie> serializableCookies concode_elem_sep byte[] gzippedBody concode_elem_sep byte[] ungzippedBody concode_elem_sep List<Header<? extends Serializable>> responseHeaders concode_elem_sep String contentType concode_elem_sep long serialVersionUID concode_elem_sep int statusCode concode_field_sep void setCacheableRequestAttributes concode_elem_sep byte[] getGzippedBody concode_elem_sep List<Header<? extends Serializable>> getHeaders concode_elem_sep long getDateHeader concode_elem_sep Date getCreated concode_elem_sep byte[] gzip concode_elem_sep List<SerializableCookie> getSerializableCookies concode_elem_sep long getTimeToLiveSeconds concode_elem_sep byte[] getUngzippedBody concode_elem_sep Map<String,Serializable> getRequestAttributes concode_elem_sep boolean isMatch concode_elem_sep boolean hasUngzippedBody concode_elem_sep String getHeader concode_elem_sep int getStatusCode concode_elem_sep boolean isModified concode_elem_sep boolean isGzipped concode_elem_sep byte[] ungzip concode_elem_sep boolean isOk concode_elem_sep String getContentType concode_elem_sep Map<String,Object> getCacheDirectives concode_elem_sep boolean isBodyParameterGzipped concode_elem_sep boolean hasGzippedBody
void function ( long arg0 ) { if ( arg0 == 0 || arg0 > ONE_YEAR_IN_SECONDS ) { timeToLiveSeconds = ONE_YEAR_IN_SECONDS ; } else { timeToLiveSeconds = arg0 ; } }