Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWebView.java142 protected void loadUrl(String url, Map<String, String> additionalHttpHeaders) { in loadUrl() argument
147 if (additionalHttpHeaders != null) { in loadUrl()
148 this.lastAdditionalHttpHeaders = Collections.unmodifiableMap(additionalHttpHeaders); in loadUrl()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWebViewTest.java45 Map<String, String> additionalHttpHeaders = new HashMap<>(1); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders() local
46 additionalHttpHeaders.put("key1", "value1"); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()
47 webView.loadUrl("http://example.com", additionalHttpHeaders); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()