- getHeaders
Gets all of the headers with the given name. The returned array maintains the
relative order in whic
- headerIterator
Returns an iterator over the headers with a given name in this group.
- <init>
Constructor for HeaderGroup.
- addHeader
Adds the given header to the group. The order in which this header was added is
preserved.
- clear
Removes all headers.
- getFirstHeader
Gets the first header with the given name.Header name comparison is case
insensitive.
- getLastHeader
Gets the last header with the given name.Header name comparison is case
insensitive.
- setHeaders
Sets all of the headers contained within this group overriding any existing
headers. The headers are
- containsHeader
Tests if headers with the given name are contained within this group.Header name
comparison is case
- removeHeader
Removes the first given header.
- removeHeaders
Removes all headers that match the given header.
- setHeader
Replaces the first occurrence of the header with the same name. If no header
with the same name is f