Package org.apache.http
Interface HeaderElementIterator
- All Superinterfaces:
Iterator
- All Known Implementing Classes:
BasicHeaderElementIterator
public interface HeaderElementIterator extends Iterator
A type-safe iterator for
HeaderElement objects.- Version:
- $Revision: 584542 $
-
Method Summary
Modifier and Type Method Description booleanhasNext()Indicates whether there is another header element in this iteration.HeaderElementnextElement()Obtains the next header element from this iteration.
-
Method Details
-
hasNext
boolean hasNext()Indicates whether there is another header element in this iteration.- Specified by:
hasNextin interfaceIterator- Returns:
trueif there is another header element,falseotherwise- See Also:
Iterator.next()
-
nextElement
HeaderElement nextElement()Obtains the next header element from this iteration. This method should only be called whilehasNextis true.- Returns:
- the next header element in this iteration
-