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

  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
SpdyTransport.java 29 private final HttpEngine httpEngine;
33 public SpdyTransport(HttpEngine httpEngine, SpdyConnection spdyConnection) {
34 this.httpEngine = httpEngine;
48 httpEngine.writingRequestHeaders();
49 RawHeaders requestHeaders = httpEngine.requestHeaders.getHeaders();
50 String version = httpEngine.connection.getHttpMinorVersion() == 1 ? "HTTP/1.1" : "HTTP/1.0";
51 URL url = httpEngine.policy.getURL()
    [all...]
HttpTransport.java 42 private final HttpEngine httpEngine;
54 public HttpTransport(HttpEngine httpEngine, OutputStream outputStream, InputStream inputStream) {
55 this.httpEngine = httpEngine;
62 boolean chunked = httpEngine.requestHeaders.isChunked();
64 && httpEngine.policy.getChunkLength() > 0
65 && httpEngine.connection.getHttpMinorVersion() != 0) {
66 httpEngine.requestHeaders.setChunked()
    [all...]
AbstractHttpInputStream.java 37 protected final HttpEngine httpEngine;
42 AbstractHttpInputStream(InputStream in, HttpEngine httpEngine, CacheRequest cacheRequest)
45 this.httpEngine = httpEngine;
86 httpEngine.release(streamCancelled);
105 httpEngine.release(true);
HttpURLConnectionImpl.java 46 * This implementation uses HttpEngine to send requests and receive responses.
77 protected HttpEngine httpEngine;
95 if (httpEngine != null) {
97 // HttpEngine.release because that is called when input
101 if (httpEngine.hasResponse()) {
102 Util.closeQuietly(httpEngine.getResponseBody());
104 httpEngine.release(true);
114 HttpEngine response = getResponse();
179 HttpEngine response = getResponse()
    [all...]
UnknownLengthHttpInputStream.java 28 UnknownLengthHttpInputStream(InputStream is, CacheRequest cacheRequest, HttpEngine httpEngine)
30 super(is, httpEngine, cacheRequest);
HttpsURLConnectionImpl.java 110 public HttpEngine getHttpEngine() {
115 if (delegate.httpEngine == null || !delegate.httpEngine.connected) {
118 return delegate.httpEngine instanceof HttpsEngine
119 ? ((HttpsEngine) delegate.httpEngine).getSslSocket()
355 return httpEngine instanceof HttpsEngine
356 ? (SecureCacheResponse) httpEngine.getCacheResponse()
  /external/okhttp/src/main/java/com/squareup/okhttp/
HttpResponseCache.java 23 import com.squareup.okhttp.internal.http.HttpEngine;
244 HttpEngine httpEngine = getHttpEngine(httpConnection);
245 if (httpEngine == null) {
250 ResponseHeaders response = httpEngine.getResponseHeaders();
256 httpEngine.getRequestHeaders().getHeaders().getAll(response.getVaryFields());
291 HttpEngine httpEngine = getHttpEngine(httpConnection);
292 URI uri = httpEngine.getUri();
293 ResponseHeaders response = httpEngine.getResponseHeaders()
    [all...]
Connection.java 21 import com.squareup.okhttp.internal.http.HttpEngine;
258 public Object newTransport(HttpEngine httpEngine) throws IOException {
259 return (spdyConnection != null) ? new SpdyTransport(httpEngine, spdyConnection)
260 : new HttpTransport(httpEngine, out, in);

Completed in 191 milliseconds