Searched refs:cacheControl (Results 1 - 9 of 9) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DCacheControlTest.java30 CacheControl cacheControl = new CacheControl.Builder().build();
31 assertEquals("", cacheControl.toString());
32 assertFalse(cacheControl.noCache());
33 assertFalse(cacheControl.noStore());
34 assertEquals(-1, cacheControl.maxAgeSeconds());
35 assertEquals(-1, cacheControl.sMaxAgeSeconds());
36 assertFalse(cacheControl.isPrivate());
37 assertFalse(cacheControl.isPublic());
38 assertFalse(cacheControl.mustRevalidate());
39 assertEquals(-1, cacheControl
[all...]
H A DRequestTest.java138 @Test public void cacheControl() throws Exception { method in class:RequestTest
140 .cacheControl(new CacheControl.Builder().noCache().build())
149 .cacheControl(new CacheControl.Builder().build())
H A DCacheTest.java927 .cacheControl(new CacheControl.Builder().noStore().build())
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DCacheStrategy.java73 || response.cacheControl().maxAgeSeconds() != -1
74 || response.cacheControl().isPublic()
75 || response.cacheControl().isPrivate()) {
86 return !response.cacheControl().noStore() && !request.cacheControl().noStore();
164 if (candidate.networkRequest != null && request.cacheControl().onlyIfCached()) {
191 CacheControl requestCaching = request.cacheControl();
209 CacheControl responseCaching = cacheResponse.cacheControl();
247 CacheControl responseCaching = cacheResponse.cacheControl();
293 return cacheResponse.cacheControl()
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DRequest.java40 private volatile CacheControl cacheControl; // Lazily initialized. field in class:Request
105 public CacheControl cacheControl() { method in class:Request
106 CacheControl result = cacheControl;
107 return result != null ? result : (cacheControl = CacheControl.parse(headers));
191 * control headers already present. If {@code cacheControl} doesn't define
194 public Builder cacheControl(CacheControl cacheControl) { argument
195 String value = cacheControl.toString();
H A DResponse.java48 private volatile CacheControl cacheControl; // Lazily initialized. field in class:Response
204 public CacheControl cacheControl() { method in class:Response
205 CacheControl result = cacheControl;
206 return result != null ? result : (cacheControl = CacheControl.parse(headers));
/external/jetty/src/java/org/eclipse/jetty/server/handler/
H A DErrorHandler.java197 /** Get the cacheControl.
198 * @return the cacheControl header to set on error responses.
206 /** Set the cacheControl.
207 * @param cacheControl the cacheControl header to set on error responses.
209 public void setCacheControl(String cacheControl) argument
211 _cacheControl = cacheControl;
H A DResourceHandler.java270 * @return the cacheControl header to set on all static content.
279 * @param cacheControl the cacheControl header to set on all static content.
281 public void setCacheControl(String cacheControl) argument
283 _cacheControl=cacheControl==null?null:new ByteArrayBuffer(cacheControl);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 261 milliseconds