public final class JoinedHeaderList extends AbstractComplexHeaderList
| Constructor and Description |
|---|
JoinedHeaderList(HeaderList list1,
HeaderList list2)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Header<?> header)
Returns whether this HeaderSet contains the given
Header. |
boolean |
contains(HeaderType<?> headerType)
Returns whether this HeaderSet contains a
Header of the given HeaderType. |
java.util.Iterator<Header<?>> |
iterator() |
int |
size()
Returns the number of
Headers in this HeaderList. |
append, append, headersByType, removepublic JoinedHeaderList(HeaderList list1, HeaderList list2)
list1 - list2 - public java.util.Iterator<Header<?>> iterator()
public boolean contains(HeaderType<?> headerType)
HeaderListHeader of the given HeaderType.public boolean contains(Header<?> header)
HeaderListHeader. This is only true if the set contains a Header having the same HeaderType and
value.public int size()
HeaderListHeaders in this HeaderList.