HomeSort by relevance Sort by last modified time
    Searched defs:maxStale (Results 1 - 6 of 6) sorted by null

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
CacheControl.java 30 .maxStale(Integer.MAX_VALUE, TimeUnit.SECONDS)
312 * up to {@code maxStale}. If unspecified, stale cache responses will not be
315 * @param maxStale a non-negative integer. This is stored and transmitted
319 public Builder maxStale(int maxStale, TimeUnit timeUnit) {
320 if (maxStale < 0) throw new IllegalArgumentException("maxStale < 0: " + maxStale);
321 long maxStaleSecondsLong = timeUnit.toSeconds(maxStale);
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.2/
okhttp-2.7.2.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.3.0/
okhttp-3.3.0.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.4.1/
okhttp-3.4.1.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/
okhttp-2.7.4.jar 

Completed in 60 milliseconds