Lines Matching refs:headers
36 private List<String> headers = new ArrayList<String>();
41 headers.add(EMPTY_BODY_HEADER);
47 result.headers = new ArrayList<String>(result.headers);
72 * Returns the HTTP headers, such as "Content-Length: 0".
75 return headers;
79 headers.clear();
84 headers.add(header);
97 headers.remove(EMPTY_BODY_HEADER);
99 this.headers.add("Content-Length: " + body.length);
113 headers.remove(EMPTY_BODY_HEADER);
114 headers.add(CHUNKED_BODY_HEADER);