Home
last modified time | relevance | path

Searched refs:bodyProvider (Results 1 – 3 of 3) sorted by relevance

/external/apache-http/android/src/android/net/http/
DRequest.java107 InputStream bodyProvider, int bodyLength, in Request() argument
114 mBodyProvider = bodyProvider; in Request()
117 if (bodyProvider == null && !"POST".equalsIgnoreCase(method)) { in Request()
125 if (bodyProvider != null) { in Request()
126 setBodyProvider(bodyProvider, bodyLength); in Request()
489 private void setBodyProvider(InputStream bodyProvider, int bodyLength) { in setBodyProvider() argument
490 if (!bodyProvider.markSupported()) { in setBodyProvider()
495 bodyProvider.mark(Integer.MAX_VALUE); in setBodyProvider()
498 new InputStreamEntity(bodyProvider, bodyLength)); in setBodyProvider()
DRequestQueue.java292 InputStream bodyProvider, int bodyLength) { in queueRequest() argument
295 bodyProvider, bodyLength); in queueRequest()
312 InputStream bodyProvider, int bodyLength) { in queueRequest() argument
326 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider, in queueRequest()
337 this, url, uri, method, headers, bodyProvider, bodyLength, in queueRequest()
365 EventHandler eventHandler, InputStream bodyProvider, in queueSynchronousRequest() argument
374 bodyProvider, bodyLength, eventHandler, headers); in queueSynchronousRequest()
384 return new RequestHandle(this, url, uri, method, headers, bodyProvider, in queueSynchronousRequest()
DRequestHandle.java60 InputStream bodyProvider, int bodyLength, Request request) { in RequestHandle() argument
66 mBodyProvider = bodyProvider; in RequestHandle()
84 InputStream bodyProvider, int bodyLength, Request request, in RequestHandle() argument
86 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength, in RequestHandle()