Home
last modified time | relevance | path

Searched refs:getAllHeaders (Results 1 – 21 of 21) sorted by relevance

/external/volley/src/test/java/com/android/volley/toolbox/
DBaseHttpStackTest.java51 assertEquals(0, resp.getAllHeaders().length); in legacyRequestWithoutBody()
71 assertEquals(0, resp.getAllHeaders().length); in legacyResponseWithBody()
95 assertEquals(3, resp.getAllHeaders().length); in legacyResponseHeaders()
96 assertEquals("HeaderA", resp.getAllHeaders()[0].getName()); in legacyResponseHeaders()
97 assertEquals("ValueA", resp.getAllHeaders()[0].getValue()); in legacyResponseHeaders()
98 assertEquals("HeaderB", resp.getAllHeaders()[1].getName()); in legacyResponseHeaders()
99 assertEquals("ValueB_1", resp.getAllHeaders()[1].getValue()); in legacyResponseHeaders()
100 assertEquals("HeaderB", resp.getAllHeaders()[2].getName()); in legacyResponseHeaders()
101 assertEquals("ValueB_2", resp.getAllHeaders()[2].getValue()); in legacyResponseHeaders()
DAdaptedHttpStackTest.java62 when(mHttpResponse.getAllHeaders()).thenReturn(new org.apache.http.Header[0]); in emptyResponse()
76 when(mHttpResponse.getAllHeaders()).thenReturn(new org.apache.http.Header[0]); in nonEmptyResponse()
94 when(mHttpResponse.getAllHeaders()).thenReturn(new org.apache.http.Header[0]); in responseTooBig()
106 when(mHttpResponse.getAllHeaders()) in responseWithHeaders()
DHttpStackConformanceTest.java109 for (Header header : request.getAllHeaders()) {
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DTestHttpResponseTest.java102 assertThat(response.getAllHeaders().length).isEqualTo(0); in canAddNewBasicHeader()
104 assertThat(response.getAllHeaders().length).isEqualTo(1); in canAddNewBasicHeader()
112 assertThat(response.getAllHeaders().length).isEqualTo(1); in canOverrideExistingHeaderValue()
120 assertThat(response.getAllHeaders().length).isEqualTo(2); in onlyOverridesFirstHeaderValue()
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpMethodResponse.java82 Header[] allHeaders = httpResponse.getAllHeaders(); in getHeaders()
104 for (Header header : httpRequest.getAllHeaders()) { in dump()
124 for (Header header : httpResponse.getAllHeaders()) { in dump()
/external/apache-http/src/org/apache/http/message/
DAbstractHttpMessage.java93 public Header[] getAllHeaders() { in getAllHeaders() method in AbstractHttpMessage
94 return this.headergroup.getAllHeaders(); in getAllHeaders()
DHeaderGroup.java234 public Header[] getAllHeaders() { in getAllHeaders() method in HeaderGroup
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnection.java243 Header[] headers = response.getAllHeaders(); in receiveResponseHeader()
257 Header[] headers = request.getAllHeaders(); in sendRequestHeader()
/external/apache-http/src/org/apache/http/
DHttpMessage.java108 Header[] getAllHeaders(); in getAllHeaders() method
/external/volley/src/main/java/com/android/volley/toolbox/
DAdaptedHttpStack.java57 org.apache.http.Header[] headers = apacheResp.getAllHeaders(); in executeRequest()
/external/apache-http/src/org/apache/http/impl/client/
DRequestWrapper.java103 setHeaders(this.original.getAllHeaders()); in resetHeaders()
DDefaultRequestDirector.java947 redirect.setHeaders(orig.getAllHeaders()); in handleResponse()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpResponseStub.java74 @Override public Header[] getAllHeaders() { in getAllHeaders() method in HttpResponseStub
DTestHttpResponse.java64 @Override public Header[] getAllHeaders() { in getAllHeaders() method in TestHttpResponse
DFakeHttpLayer.java430 for (Header header : request.getAllHeaders()) { in matches()
DDefaultRequestDirector.java993 redirect.setHeaders(orig.getAllHeaders()); in handleResponse()
/external/apache-http/android/src/android/net/http/
DHttpsConnection.java210 for (Header h : req.mHttpRequest.getAllHeaders()) { in openConnection()
DAndroidHttpClient.java411 for (Header header: request.getAllHeaders()) { in toCurl()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java50 for (Header header : request.getAllHeaders()) { in transformRequest()
/external/apache-http/
Dart-profile814 HSPLorg/apache/http/HttpMessage;->getAllHeaders()[Lorg/apache/http/Header;
965 HSPLorg/apache/http/message/AbstractHttpMessage;->getAllHeaders()[Lorg/apache/http/Header;
978 HSPLorg/apache/http/message/HeaderGroup;->getAllHeaders()[Lorg/apache/http/Header;
/external/apache-http/api/
Dcurrent.txt962 method @Deprecated public org.apache.http.Header[] getAllHeaders();
3421 method @Deprecated public org.apache.http.Header[] getAllHeaders();
3667 method @Deprecated public org.apache.http.Header[] getAllHeaders();