Home
last modified time | relevance | path

Searched refs:CONTENT_LEN (Results 1 – 6 of 6) sorted by relevance

/external/apache-http/src/org/apache/http/protocol/
DRequestContent.java69 if (request.containsHeader(HTTP.CONTENT_LEN)) { in process()
75 request.addHeader(HTTP.CONTENT_LEN, "0"); in process()
86 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
DResponseContent.java69 if (response.containsHeader(HTTP.CONTENT_LEN)) { in process()
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
96 response.addHeader(HTTP.CONTENT_LEN, "0"); in process()
DHTTP.java52 public static final String CONTENT_LEN = "Content-Length"; field in HTTP
/external/apache-http/src/org/apache/http/impl/entity/
DLaxContentLengthStrategy.java196 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength()
234 Header[] headers = message.getHeaders(HTTP.CONTENT_LEN); in determineLength()
DStrictContentLengthStrategy.java191 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DFileChannelTest.java1879 final int CONTENT_LEN = 10; in test_map_LargePosition() local
1892 writeLargeDataToFile(fileOfReadOnlyFileChannel, sizes[i] + 2 * CONTENT_LEN); in test_map_LargePosition()
1894 sizes[i], CONTENT_LEN); in test_map_LargePosition()
1896 + " position (capacity)", CONTENT_LEN, mapped.capacity()); in test_map_LargePosition()
1898 + " position (limit)", CONTENT_LEN, mapped.limit()); in test_map_LargePosition()