void function ( HttpServletResponse arg0 , Date arg1 ) { if ( arg1 == null ) { arg0 . setHeader ( HEADER_EXPIRES , "srini_string" ) ; } else { arg0 . setHeader ( HEADER_EXPIRES , formatDate ( arg1 ) ) ; } }
set expires header to given date . concode_field_sep Logger log concode_elem_sep String HEADER_EXPIRES concode_elem_sep String HEADER_LAST_MODIFIED concode_elem_sep String HEADER_CACHE_CONTROL concode_elem_sep DateFormat RFC1123_DATE_FORMAT concode_elem_sep String HEADER_DISPATCHER concode_elem_sep String HEADER_IF_MODIFIED_SINCE concode_elem_sep String HEADER_PRAGMA concode_elem_sep String RFC_1123_DATE_PATTERN concode_field_sep String formatDate concode_elem_sep void setExpiresHours concode_elem_sep Date parseDate concode_elem_sep void setNonCachingHeaders concode_elem_sep boolean isNotModified concode_elem_sep boolean isNotModified concode_elem_sep boolean isNotModified concode_elem_sep boolean isNotModified concode_elem_sep void setExpiresSeconds concode_elem_sep void setExpiresDays