Lines Matching refs:headers
34 private List<String> headers = new ArrayList<String>();
59 result.headers = new ArrayList<String>(headers);
82 /** Returns the HTTP headers, such as "Content-Length: 0". */
84 return headers;
88 * Removes all HTTP headers including any "Content-Length" and
89 * "Transfer-encoding" headers that were added by default.
92 headers.clear();
101 headers.add(header);
107 * headers with the same name.
114 * Removes all headers named {@code name}, then adds a new header with the
122 /** Removes all headers named {@code name}. */
125 for (Iterator<String> i = headers.iterator(); i.hasNext(); ) {
173 headers.add(CHUNKED_BODY_HEADER);
242 * response body only; response headers are not affected.