Class BasicHeaderIterator
java.lang.Object
org.apache.hc.core5.http.message.BasicHeaderIterator
-
Constructor Summary
ConstructorsConstructorDescriptionBasicHeaderIterator(Header[] headers, String name) Creates a new header iterator. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
BasicHeaderIterator
-
-
Method Details
-
hasNext
-
next
Obtains the next header from this iteration.- Specified by:
nextin interfaceIterator<Header>- Returns:
- the next header in this iteration
- Throws:
NoSuchElementException- if there are no more headers
-
remove
Removing headers is not supported.- Specified by:
removein interfaceIterator<Header>- Throws:
UnsupportedOperationException- always
-