Home
last modified time | relevance | path

Searched refs:requestHeaders (Results 1 – 2 of 2) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java81 public String get(String url, Map<String,String> requestHeaders) in get() argument
85 c = createConnection(url, requestHeaders); in get()
101 public String post(String url, Map<String,String> requestHeaders, String content) in post() argument
105 if (requestHeaders == null) { in post()
106 requestHeaders = new HashMap<String, String>(); in post()
108 requestHeaders.put("Content-Length", in post()
110 c = createConnection(url, requestHeaders); in post()
DHttpHelper.java31 public String get(String url, Map<String,String> requestHeaders) in get() argument
36 public String post(String url, Map<String,String> requestHeaders, String content) in post() argument