Home
last modified time | relevance | path

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

/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-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DTestHttpResponse.java68 @Override public Header getFirstHeader(String s) { in getFirstHeader() method in TestHttpResponse
171 return getFirstHeader(s) != null;
196 return getFirstHeader("Content-Type");
200 return getFirstHeader("Content-Encoding");
DHttpResponseStub.java66 @Override public Header getFirstHeader(String s) { in getFirstHeader() method in HttpResponseStub
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DTestHttpResponseTest.java19 assertThat(resp.getFirstHeader("None")).isNull(); in shouldSupportGetFirstHeader()
20 assertThat(new TestHttpResponse(200, "OK").getFirstHeader("Foo")).isNull(); in shouldSupportGetFirstHeader()
23 assertThat(resp.getFirstHeader(l).getValue()).isEqualTo("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/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/
DHttpMessage.java88 Header getFirstHeader(String name); in getFirstHeader() method
/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/apache-http/
Dart-profile597 HPLorg/apache/http/message/AbstractHttpMessage;->getFirstHeader(Ljava/lang/String;)Lorg/apache/http…
666 HPLorg/apache/http/message/HeaderGroup;->getFirstHeader(Ljava/lang/String;)Lorg/apache/http/Header;
815 HSPLorg/apache/http/HttpMessage;->getFirstHeader(Ljava/lang/String;)Lorg/apache/http/Header;
/external/apache-http/api/
Dcurrent.txt963 method @Deprecated public org.apache.http.Header getFirstHeader(String);
3422 method @Deprecated public org.apache.http.Header getFirstHeader(String);
3669 method @Deprecated public org.apache.http.Header getFirstHeader(String);