Home | History | Annotate | Download | only in http

Lines Matching refs:Header

59      * Checks if a certain header is present in this message. Header values are
62 * @param name the header name to check for.
63 * @return true if at least one header with this name is present.
68 * Returns all the headers with a specified name of this message. Header values
75 Header[] getHeaders(String name);
78 * Returns the first header with a specified name of this message. Header
79 * values are ignored. If there is more than one matching header in the
81 * If there is no matching header in the message <code>null</code> is
84 * @param name the name of the header to return.
85 * @return the first header whose name property equals <code>name</code>
86 * or <code>null</code> if no such header could be found.
88 Header getFirstHeader(String name);
91 * Returns the last header with a specified name of this message. Header values
92 * are ignored. If there is more than one matching header in the message the
94 * matching header in the message <code>null</code> is returned.
96 * @param name the name of the header to return.
97 * @return the last header whose name property equals <code>name</code>.
98 * or <code>null</code> if no such header could be found.
100 Header getLastHeader(String name);
108 Header[] getAllHeaders();
111 * Adds a header to this message. The header will be appended to the end of
114 * @param header the header to append.
116 void addHeader(Header header);
119 * Adds a header to this message. The header will be appended to the end of
122 * @param name the name of the header.
123 * @param value the value of the header.
128 * Overwrites the first header with the same name. The new header will be appended to
129 * the end of the list, if no header with the given name can be found.
131 * @param header the header to set.
133 void setHeader(Header header);
136 * Overwrites the first header with the same name. The new header will be appended to
137 * the end of the list, if no header with the given name can be found.
139 * @param name the name of the header.
140 * @param value the value of the header.
149 void setHeaders(Header[] headers);
152 * Removes a header from this message.
154 * @param header the header to remove.
156 void removeHeader(Header header);
168 * @return Iterator that returns Header objects in the sequence they are
179 * @return Iterator that returns Header objects with the argument name