Package org.apache.http
Interface HeaderElementIterator
- All Known Implementing Classes:
BasicHeaderElementIterator
A type-safe iterator for
HeaderElement
objects.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
Indicates whether there is another header element in this iteration.Obtains the next header element from this iteration.Methods inherited from interface java.util.Iterator
forEachRemaining, next, remove
-
Method Details
-
hasNext
boolean hasNext()Indicates whether there is another header element in this iteration. -
nextElement
HeaderElement nextElement()Obtains the next header element from this iteration. This method should only be called whilehasNext
is true.- Returns:
- the next header element in this iteration
-