Home
last modified time | relevance | path

Searched refs:getFirstHeader (Results 1 – 25 of 26) sorted by relevance

12

/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGZipIntegrationTest.java88 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToFixedLengthResponses()
100 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToChunkedResponses()
111 Header contentEncoding = response.getFirstHeader("content-encoding"); in shouldFindCorrectAcceptEncodingAmongMany()
122 Header contentLength = response.getFirstHeader("content-length"); in contentLengthShouldBeRemovedFromZippedResponses()
150 Header contentEncoding = response.getFirstHeader("content-encoding"); in noGzipWithoutAcceptEncoding()
162 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentShouldNotBeGzippedIfContentLengthIsAddedManually()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
DTestHttpResponseTest.java23 assertThat(resp.getFirstHeader("None"), nullValue()); in shouldSupportGetFirstHeader()
24 assertThat(new TestHttpResponse(200, "OK").getFirstHeader("Foo"), nullValue()); in shouldSupportGetFirstHeader()
27 assertThat(resp.getFirstHeader(l).getValue(), equalTo("http://bar.com")); in shouldSupportGetFirstHeader()
/external/apache-http/src/org/apache/http/impl/entity/
DStrictContentLengthStrategy.java195 Header transferEncodingHeader = message.getFirstHeader(HTTP.TRANSFER_ENCODING); in determineLength()
196 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength()
DEntityDeserializer.java97 Header contentTypeHeader = message.getFirstHeader(HTTP.CONTENT_TYPE); in doDeserialize()
101 Header contentEncodingHeader = message.getFirstHeader(HTTP.CONTENT_ENCODING); in doDeserialize()
DLaxContentLengthStrategy.java200 Header transferEncodingHeader = message.getFirstHeader(HTTP.TRANSFER_ENCODING); in determineLength()
201 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength()
/external/apache-http/src/org/apache/http/message/
DAbstractHttpMessage.java83 public Header getFirstHeader(final String name) { in getFirstHeader() method in AbstractHttpMessage
84 return this.headergroup.getFirstHeader(name); in getFirstHeader()
DBasicHttpEntityEnclosingRequest.java82 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue()
DHeaderGroup.java199 public Header getFirstHeader(String name) { in getFirstHeader() method in HeaderGroup
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DTestHttpResponse.java68 @Override public Header getFirstHeader(String s) { in getFirstHeader() method in TestHttpResponse
171 return getFirstHeader(s) != null;
DHttpResponseStub.java67 @Override public Header getFirstHeader(String s) { in getFirstHeader() method in HttpResponseStub
/external/apache-http/src/org/apache/http/
DHttpMessage.java88 Header getFirstHeader(String name); in getFirstHeader() method
/external/apache-http/src/org/apache/http/impl/client/
DEntityEnclosingRequestWrapper.java79 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue()
DDefaultRedirectHandler.java105 Header locationHeader = response.getFirstHeader("location"); in getLocationURI()
/external/apache-http/src/org/apache/http/client/methods/
DHttpEntityEnclosingRequestBase.java72 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue()
/external/apache-http/src/org/apache/http/protocol/
DResponseConnControl.java102 Header header = request.getFirstHeader(HTTP.CONN_DIRECTIVE); in process()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DApacheHttpClient.java68 Header contentEncoding = response.getFirstHeader("Content-Encoding"); in run()
/external/robolectric/v3/
Dshadows-httpclient-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ ...
/external/robolectric/v1/lib/main/
Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12