Searched refs:httpEngine (Results 1 – 5 of 5) sorted by relevance
95 protected HttpEngine httpEngine; field in HttpURLConnectionImpl133 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 …]
43 if (delegate.httpEngine == null) { in handshake()50 return delegate.httpEngine.hasResponse() in handshake()51 ? delegate.httpEngine.getResponse().handshake() in handshake()
74 private HttpEngine httpEngine; field in Http1xStream83 @Override public void setHttpEngine(HttpEngine httpEngine) { in setHttpEngine() argument84 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() argument244 return new ChunkedSource(httpEngine); in newChunkedSource()423 private final HttpEngine httpEngine; field in Http1xStream.ChunkedSource425 ChunkedSource(HttpEngine httpEngine) throws IOException { in ChunkedSource() argument[all …]
110 private HttpEngine httpEngine; field in Http2xStream118 @Override public void setHttpEngine(HttpEngine httpEngine) { in setHttpEngine() argument119 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()
54 void setHttpEngine(HttpEngine httpEngine); in setHttpEngine() argument