Searched refs:cacheRequest (Results 1 - 4 of 4) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpConnection.java243 public Source newFixedLengthSource(CacheRequest cacheRequest, long length) argument
247 return new FixedLengthSource(cacheRequest, length);
258 public Source newChunkedSource(CacheRequest cacheRequest, HttpEngine httpEngine) argument
262 return new ChunkedSource(cacheRequest, httpEngine);
265 public Source newUnknownLengthSource(CacheRequest cacheRequest) throws IOException { argument
268 return new UnknownLengthSource(cacheRequest);
364 private final CacheRequest cacheRequest; field in class:HttpConnection.AbstractSource
368 AbstractSource(CacheRequest cacheRequest) throws IOException { argument
370 OutputStream cacheBody = cacheRequest != null ? cacheRequest
432 FixedLengthSource(CacheRequest cacheRequest, long length) argument
483 ChunkedSource(CacheRequest cacheRequest, HttpEngine httpEngine) argument
551 UnknownLengthSource(CacheRequest cacheRequest) argument
[all...]
H A DHttpTransport.java134 @Override public Source getTransferStream(CacheRequest cacheRequest) throws IOException { argument
136 return httpConnection.newFixedLengthSource(cacheRequest, 0);
140 return httpConnection.newChunkedSource(cacheRequest, httpEngine);
145 return httpConnection.newFixedLengthSource(cacheRequest, contentLength);
151 return httpConnection.newUnknownLengthSource(cacheRequest);
H A DSpdyTransport.java215 @Override public Source getTransferStream(CacheRequest cacheRequest) throws IOException { argument
216 return new SpdySource(stream, cacheRequest);
245 private final CacheRequest cacheRequest; field in class:SpdyTransport.SpdySource
251 SpdySource(SpdyStream stream, CacheRequest cacheRequest) throws IOException { argument
256 OutputStream cacheBody = cacheRequest != null ? cacheRequest.getBody() : null;
258 cacheRequest = null;
262 this.cacheRequest = cacheRequest;
274 if (cacheRequest !
[all...]
H A DTransport.java71 Source getTransferStream(CacheRequest cacheRequest) throws IOException; argument

Completed in 243 milliseconds