Searched defs:bodyProvider (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/http/
H A DRequest.java105 * @param bodyProvider InputStream providing HTTP body, null if none
106 * @param bodyLength length of body, must be 0 if bodyProvider is null
112 InputStream bodyProvider, int bodyLength,
119 mBodyProvider = bodyProvider;
122 if (bodyProvider == null && !"POST".equalsIgnoreCase(method)) {
130 if (bodyProvider != null) {
131 setBodyProvider(bodyProvider, bodyLength);
494 private void setBodyProvider(InputStream bodyProvider, int bodyLength) { argument
495 if (!bodyProvider.markSupported()) {
497 "bodyProvider mus
111 Request(String method, HttpHost host, HttpHost proxyHost, String path, InputStream bodyProvider, int bodyLength, EventHandler eventHandler, Map<String, String> headers) argument
[all...]
H A DRequestQueue.java293 * @param bodyProvider InputStream providing HTTP body, null if none
294 * @param bodyLength length of body, must be 0 if bodyProvider is null
299 InputStream bodyProvider, int bodyLength) {
302 bodyProvider, bodyLength);
313 * @param bodyProvider InputStream providing HTTP body, null if none
314 * @param bodyLength length of body, must be 0 if bodyProvider is null
319 InputStream bodyProvider, int bodyLength) {
333 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider,
344 this, url, uri, method, headers, bodyProvider, bodyLength,
372 EventHandler eventHandler, InputStream bodyProvider,
296 queueRequest( String url, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
316 queueRequest( String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
370 queueSynchronousRequest(String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
[all...]
H A DRequestHandle.java64 InputStream bodyProvider, int bodyLength, Request request) {
70 mBodyProvider = bodyProvider;
88 InputStream bodyProvider, int bodyLength, Request request,
90 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength,
62 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request) argument
86 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request, Connection conn) argument

Completed in 195 milliseconds