Home
last modified time | relevance | path

Searched refs:contentEncoding (Results 1 – 14 of 14) sorted by relevance

/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGZipIntegrationTest.java88 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToFixedLengthResponses() local
89 assertNotNull("Content-Encoding should be set", contentEncoding); in contentEncodingShouldBeAddedToFixedLengthResponses()
90 assertEquals("gzip", contentEncoding.getValue()); in contentEncodingShouldBeAddedToFixedLengthResponses()
100 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToChunkedResponses() local
101 assertNotNull("Content-Encoding should be set", contentEncoding); in contentEncodingShouldBeAddedToChunkedResponses()
102 assertEquals("gzip", contentEncoding.getValue()); in contentEncodingShouldBeAddedToChunkedResponses()
111 Header contentEncoding = response.getFirstHeader("content-encoding"); in shouldFindCorrectAcceptEncodingAmongMany() local
112 assertNotNull("Content-Encoding should be set", contentEncoding); in shouldFindCorrectAcceptEncodingAmongMany()
113 assertEquals("gzip", contentEncoding.getValue()); in shouldFindCorrectAcceptEncodingAmongMany()
150 Header contentEncoding = response.getFirstHeader("content-encoding"); in noGzipWithoutAcceptEncoding() local
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentEncoding.java91 protected String contentEncoding; field in ContentEncoding
106 contentEncoding = enc; in ContentEncoding()
114 return contentEncoding; in encodeBody()
122 return contentEncoding; in getEncoding()
133 contentEncoding = encoding; in setEncoding()
/external/apache-http/src/org/apache/http/entity/
DAbstractHttpEntity.java71 protected Header contentEncoding; field in AbstractHttpEntity
111 return this.contentEncoding; in getContentEncoding()
163 public void setContentEncoding(final Header contentEncoding) { in setContentEncoding() argument
164 this.contentEncoding = contentEncoding; in setContentEncoding()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DApacheHttpClient.java68 Header contentEncoding = response.getFirstHeader("Content-Encoding"); in run() local
69 if (contentEncoding != null && contentEncoding.getValue().equals("gzip")) { in run()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentEncodingParser.java50 public ContentEncodingParser(String contentEncoding) { in ContentEncodingParser() argument
51 super(contentEncoding); in ContentEncodingParser()
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptor.java246 String contentEncoding = headers.get("Content-Encoding"); in bodyEncoded() local
247 return contentEncoding != null && !contentEncoding.equalsIgnoreCase("identity"); in bodyEncoded()
/external/apache-http/android/src/android/net/http/
DRequest.java275 Header contentEncoding = entity.getContentEncoding(); in readResponse() local
280 if (contentEncoding != null && in readResponse()
281 contentEncoding.getValue().equals("gzip")) { in readResponse()
DAndroidHttpClient.java223 String contentEncoding = header.getValue(); in getUngzippedContent()
224 if (contentEncoding == null) return responseStream; in getUngzippedContent()
225 if (contentEncoding.contains("gzip")) responseStream in getUngzippedContent()
/external/nist-sip/java/javax/sip/message/
DMessage.java41 void setContentEncoding(ContentEncodingHeader contentEncoding); in setContentEncoding() argument
/external/volley/src/main/java/com/android/volley/cronet/
DCronetHttpStack.java376 String contentEncoding = requestParameters.getHeaders().get("Content-Encoding"); in isBinaryContentForLogging() local
377 if (contentEncoding != null) { in isBinaryContentForLogging()
378 String[] encodings = TextUtils.split(contentEncoding, ","); in isBinaryContentForLogging()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDefaultHttpDataSource.java771 String contentEncoding = connection.getHeaderField("Content-Encoding"); in isCompressed() local
772 return "gzip".equalsIgnoreCase(contentEncoding); in isCompressed()
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
DOkApacheClientTest.java188 @Test public void contentEncoding() throws Exception { in contentEncoding() method in OkApacheClientTest
/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1_messages.py602 contentEncoding = _messages.StringField(6) variable in Object
1802 contentEncoding = _messages.StringField(2) variable in StorageObjectsInsertRequest
/external/apache-http/api/
Dcurrent.txt2089 field @Deprecated protected org.apache.http.Header contentEncoding;