Searched defs:httpEngine (Results 1 - 6 of 6) sorted by relevance
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | UnknownLengthHttpInputStream.java | 28 UnknownLengthHttpInputStream(InputStream is, CacheRequest cacheRequest, HttpEngine httpEngine) argument 30 super(is, httpEngine, cacheRequest);
|
H A D | AbstractHttpInputStream.java | 37 protected final HttpEngine httpEngine; field in class:AbstractHttpInputStream 42 AbstractHttpInputStream(InputStream in, HttpEngine httpEngine, CacheRequest cacheRequest) argument 45 this.httpEngine = httpEngine; 86 httpEngine.release(streamCancelled); 105 httpEngine.release(true);
|
H A D | SpdyTransport.java | 29 private final HttpEngine httpEngine; field in class:SpdyTransport 33 public SpdyTransport(HttpEngine httpEngine, SpdyConnection spdyConnection) { argument 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(); 52 requestHeaders.addSpdyRequestHeaders(httpEngine.method, HttpEngine.requestPath(url), version, 53 HttpEngine.getOriginAddress(url), httpEngine [all...] |
H A D | HttpTransport.java | 42 private final HttpEngine httpEngine; field in class:HttpTransport 54 public HttpTransport(HttpEngine httpEngine, OutputStream outputStream, InputStream inputStream) { argument 55 this.httpEngine = httpEngine; 62 boolean chunked = httpEngine.requestHeaders.isChunked(); 64 && httpEngine.policy.getChunkLength() > 0 65 && httpEngine.connection.getHttpMinorVersion() != 0) { 66 httpEngine.requestHeaders.setChunked(); 72 int chunkLength = httpEngine.policy.getChunkLength(); 81 long fixedContentLength = httpEngine 181 discardStream(HttpEngine httpEngine, InputStream responseBodyIn) argument 371 FixedLengthInputStream(InputStream is, CacheRequest cacheRequest, HttpEngine httpEngine, int length) argument [all...] |
H A D | HttpURLConnectionImpl.java | 77 protected HttpEngine httpEngine; field in class:HttpURLConnectionImpl 95 if (httpEngine != null) { 101 if (httpEngine.hasResponse()) { 102 Util.closeQuietly(httpEngine.getResponseBody()); 104 httpEngine.release(true); 199 OutputStream out = httpEngine.getRequestBody(); 202 } else if (httpEngine.hasResponse()) { 246 } else if (httpEngine != null) { 261 httpEngine = newHttpEngine(method, rawRequestHeaders, null, null); 291 if (httpEngine [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | Connection.java | 258 public Object newTransport(HttpEngine httpEngine) throws IOException { argument 259 return (spdyConnection != null) ? new SpdyTransport(httpEngine, spdyConnection) 260 : new HttpTransport(httpEngine, out, in);
|
Completed in 216 milliseconds