Constructor and Description |
---|
BasicHeaderIterator(Header[] headers,
String name)
Creates a new header iterator.
|
public Header next() throws NoSuchElementException
next
in interface Iterator<Header>
NoSuchElementException
- if there are no more headerspublic void remove() throws UnsupportedOperationException
remove
in interface Iterator<Header>
UnsupportedOperationException
- alwaysCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.