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

  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
AbstractHttpInputStream.java 23 import java.net.CacheRequest;
38 private final CacheRequest cacheRequest;
42 AbstractHttpInputStream(InputStream in, HttpEngine httpEngine, CacheRequest cacheRequest)
47 OutputStream cacheBody = cacheRequest != null ? cacheRequest.getBody() : null;
51 cacheRequest = null;
55 this.cacheRequest = cacheRequest;
    [all...]
UnknownLengthHttpInputStream.java 20 import java.net.CacheRequest;
28 UnknownLengthHttpInputStream(InputStream is, CacheRequest cacheRequest, HttpEngine httpEngine)
30 super(is, httpEngine, cacheRequest);
Transport.java 22 import java.net.CacheRequest;
59 InputStream getTransferStream(CacheRequest cacheRequest) throws IOException;
HttpTransport.java 26 import java.net.CacheRequest;
200 @Override public InputStream getTransferStream(CacheRequest cacheRequest) throws IOException {
202 return new FixedLengthInputStream(socketIn, cacheRequest, httpEngine, 0);
206 return new ChunkedInputStream(socketIn, cacheRequest, this);
210 return new FixedLengthInputStream(socketIn, cacheRequest, httpEngine,
217 return new UnknownLengthHttpInputStream(socketIn, cacheRequest, httpEngine);
371 public FixedLengthInputStream(InputStream is, CacheRequest cacheRequest, HttpEngine httpEngine,
373 super(is, httpEngine, cacheRequest);
    [all...]
SpdyTransport.java 24 import java.net.CacheRequest;
79 @Override public InputStream getTransferStream(CacheRequest cacheRequest) throws IOException {
80 return new UnknownLengthHttpInputStream(stream.getInputStream(), cacheRequest, httpEngine);
HttpEngine.java 33 import java.net.CacheRequest;
108 private CacheRequest cacheRequest;
414 cacheRequest = responseCache.put(uri, connectionToCache);
666 initContentStream(transport.getTransferStream(cacheRequest));

Completed in 103 milliseconds