Home
last modified time | relevance | path

Searched refs:httpEngine (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java95 protected HttpEngine httpEngine; field in HttpURLConnectionImpl
133 if (httpEngine == null) return; in disconnect()
135 httpEngine.cancel(); in disconnect()
260 BufferedSink sink = httpEngine.getBufferedRequestBody(); in getOutputStream()
263 } else if (httpEngine.hasResponse()) { in getOutputStream()
317 } else if (httpEngine != null) { in initHttpEngine()
332 httpEngine = newHttpEngine(method, null, null, null); in initHttpEngine()
402 if (httpEngine.hasResponse()) { in getResponse()
403 return httpEngine; in getResponse()
411 Response response = httpEngine.getResponse(); in getResponse()
[all …]
DHttpsURLConnectionImpl.java43 if (delegate.httpEngine == null) { in handshake()
50 return delegate.httpEngine.hasResponse() in handshake()
51 ? delegate.httpEngine.getResponse().handshake() in handshake()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp1xStream.java74 private HttpEngine httpEngine; field in Http1xStream
83 @Override public void setHttpEngine(HttpEngine httpEngine) { in setHttpEngine() argument
84 this.httpEngine = httpEngine; in setHttpEngine()
120 httpEngine.writingRequestHeaders(); in writeRequestHeaders()
122 request, httpEngine.getConnection().getRoute().getProxy().type()); in writeRequestHeaders()
141 return newChunkedSource(httpEngine); in getTransferStream()
241 public Source newChunkedSource(HttpEngine httpEngine) throws IOException { in newChunkedSource() argument
244 return new ChunkedSource(httpEngine); in newChunkedSource()
423 private final HttpEngine httpEngine; field in Http1xStream.ChunkedSource
425 ChunkedSource(HttpEngine httpEngine) throws IOException { in ChunkedSource() argument
[all …]
DHttp2xStream.java110 private HttpEngine httpEngine; field in Http2xStream
118 @Override public void setHttpEngine(HttpEngine httpEngine) { in setHttpEngine() argument
119 this.httpEngine = httpEngine; in setHttpEngine()
129 httpEngine.writingRequestHeaders(); in writeRequestHeaders()
130 boolean permitsRequestBody = httpEngine.permitsRequestBody(request); in writeRequestHeaders()
136 stream.readTimeout().timeout(httpEngine.client.getReadTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
137 stream.writeTimeout().timeout(httpEngine.client.getWriteTimeout(), TimeUnit.MILLISECONDS); in writeRequestHeaders()
DHttpStream.java54 void setHttpEngine(HttpEngine httpEngine); in setHttpEngine() argument