Build 1.0_r1(from source)

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.


Method Summary
 boolean hasNext()
          Indicates whether there is another header element in this iteration.
 HeaderElement nextElement()
          Obtains the next header element from this iteration.
 
Methods inherited from interface java.util.Iterator
next, remove
 

Method Detail

hasNext

boolean hasNext()
Indicates whether there is another header element in this iteration.

Specified by:
hasNext in interface Iterator
Returns:
true if there is another header element, false otherwise
See Also:
Iterator.next()

nextElement

HeaderElement nextElement()
Obtains the next header element from this iteration. This method should only be called while hasNext is true.

Returns:
the next header element in this iteration

Build 1.0_r1(from source)

Please submit a feedback, bug or feature