Home
last modified time | relevance | path

Searched refs:additionalHeaders (Results 1 – 8 of 8) sorted by relevance

/external/volley/src/test/java/com/android/volley/toolbox/
DBaseHttpStackTest.java42 Request<?> request, Map<String, String> additionalHeaders) in legacyRequestWithoutBody()
45 assertSame(ADDITIONAL_HEADERS, additionalHeaders); in legacyRequestWithoutBody()
61 Request<?> request, Map<String, String> additionalHeaders) in legacyResponseWithBody()
64 assertSame(ADDITIONAL_HEADERS, additionalHeaders); in legacyResponseWithBody()
82 Request<?> request, Map<String, String> additionalHeaders) in legacyResponseHeaders()
85 assertSame(ADDITIONAL_HEADERS, additionalHeaders); in legacyResponseHeaders()
DHttpStackConformanceTest.java145 Map<String, String> additionalHeaders = new HashMap<>(); in headerPrecedence() local
146 additionalHeaders.put("A", "AddlA"); in headerPrecedence()
147 additionalHeaders.put("B", "AddlB"); in headerPrecedence()
163 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence()
179 testCase.getStack().performRequest(mMockRequest, additionalHeaders); in headerPrecedence()
/external/volley/src/test/java/com/android/volley/mock/
DMockHttpStack.java60 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument
70 if (additionalHeaders != null) { in executeRequest()
71 mLastHeaders.putAll(additionalHeaders); in executeRequest()
/external/volley/src/main/java/com/android/volley/toolbox/
DBaseHttpStack.java53 Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument
66 Request<?> request, Map<String, String> additionalHeaders) in performRequest() argument
68 HttpResponse response = executeRequest(request, additionalHeaders); in performRequest()
DHttpClientStack.java77 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() argument
79 HttpUriRequest httpRequest = createHttpRequest(request, additionalHeaders); in performRequest()
80 setHeaders(httpRequest, additionalHeaders); in performRequest()
97 Request<?> request, Map<String, String> additionalHeaders) throws AuthFailureError { in createHttpRequest() argument
DAdaptedHttpStack.java44 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument
48 apacheResp = mHttpStack.performRequest(request, additionalHeaders); in executeRequest()
DHttpStack.java45 HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) in performRequest() argument
DHurlStack.java73 public HttpResponse executeRequest(Request<?> request, Map<String, String> additionalHeaders) in executeRequest() argument
77 map.putAll(additionalHeaders); in executeRequest()