add a `` stale-if-error '' directive . this directive indicates that when an error is encountered , a cached stale response may be used to satisfy the request , regardless of other freshness information . concode_field_sep long maxAge concode_elem_sep boolean cachePrivate concode_elem_sep boolean noTransform concode_elem_sep long sMaxAge concode_elem_sep long staleIfError concode_elem_sep boolean mustRevalidate concode_elem_sep boolean cachePublic concode_elem_sep boolean noCache concode_elem_sep boolean noStore concode_elem_sep boolean proxyRevalidate concode_elem_sep long staleWhileRevalidate concode_field_sep CacheControl cachePublic concode_elem_sep CacheControl noTransform concode_elem_sep CacheControl proxyRevalidate concode_elem_sep CacheControl staleWhileRevalidate concode_elem_sep String getHeaderValue concode_elem_sep CacheControl sMaxAge concode_elem_sep void appendDirective concode_elem_sep CacheControl empty concode_elem_sep CacheControl noCache concode_elem_sep CacheControl maxAge concode_elem_sep CacheControl mustRevalidate concode_elem_sep CacheControl staleIfError concode_elem_sep CacheControl noStore concode_elem_sep CacheControl cachePrivate
CacheControl function ( long arg0 , TimeUnit arg1 ) { this . staleIfError = arg1 . toSeconds ( arg0 ) ; return this ; }