Home | History | Annotate | Download | only in http

Lines Matching refs:Header

54      * Checks if a certain header is present in this message. Header values are
57 * @param name the header name to check for.
58 * @return true if at least one header with this name is present.
63 * Returns all the headers with a specified name of this message. Header values
70 Header[] getHeaders(String name);
73 * Returns the first header with a specified name of this message. Header
74 * values are ignored. If there is more than one matching header in the
76 * If there is no matching header in the message <code>null</code> is
79 * @param name the name of the header to return.
80 * @return the first header whose name property equals <code>name</code>
81 * or <code>null</code> if no such header could be found.
83 Header getFirstHeader(String name);
86 * Returns the last header with a specified name of this message. Header values
87 * are ignored. If there is more than one matching header in the message the
89 * matching header in the message <code>null</code> is returned.
91 * @param name the name of the header to return.
92 * @return the last header whose name property equals <code>name</code>.
93 * or <code>null</code> if no such header could be found.
95 Header getLastHeader(String name);
103 Header[] getAllHeaders();
106 * Adds a header to this message. The header will be appended to the end of
109 * @param header the header to append.
111 void addHeader(Header header);
114 * Adds a header to this message. The header will be appended to the end of
117 * @param name the name of the header.
118 * @param value the value of the header.
123 * Overwrites the first header with the same name. The new header will be appended to
124 * the end of the list, if no header with the given name can be found.
126 * @param header the header to set.
128 void setHeader(Header header);
131 * Overwrites the first header with the same name. The new header will be appended to
132 * the end of the list, if no header with the given name can be found.
134 * @param name the name of the header.
135 * @param value the value of the header.
144 void setHeaders(Header[] headers);
147 * Removes a header from this message.
149 * @param header the header to remove.
151 void removeHeader(Header header);
163 * @return Iterator that returns Header objects in the sequence they are
174 * @return Iterator that returns Header objects with the argument name