Searched refs:CONTENT_LEN (Results 1 – 6 of 6) sorted by relevance
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestContent.java | 69 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()
|
D | ResponseContent.java | 69 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()
|
D | HTTP.java | 52 public static final String CONTENT_LEN = "Content-Length"; field in HTTP
|
/external/apache-http/src/org/apache/http/impl/entity/ |
D | LaxContentLengthStrategy.java | 196 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength() 234 Header[] headers = message.getHeaders(HTTP.CONTENT_LEN); in determineLength()
|
D | StrictContentLengthStrategy.java | 191 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/ |
D | FileChannelTest.java | 1879 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()
|