Package org.apache.http
Interface HeaderElementIterator
-
- All Superinterfaces:
java.util.Iterator<java.lang.Object>
- All Known Implementing Classes:
BasicHeaderElementIterator
public interface HeaderElementIterator extends java.util.Iterator<java.lang.Object>A type-safe iterator forHeaderElementobjects.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
hasNext
boolean hasNext()
Indicates whether there is another header element in this iteration.- Specified by:
hasNextin interfacejava.util.Iterator<java.lang.Object>- Returns:
trueif there is another header element,falseotherwise
-
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
-
-