org.apache.http.HeaderIterator |
Known Indirect Subclasses
|
Class Overview
A type-safe iterator for Header objects.
Summary
Public Methods |
abstract
boolean
|
hasNext()
Indicates whether there is another header in this iteration.
|
abstract
Header
|
nextHeader()
Obtains the next header from this iteration.
|
[Expand]
Inherited Methods |
From interface java.util.Iterator
abstract
boolean
|
hasNext()
Returns whether there are more elements to iterate, i.e.
|
abstract
E
|
next()
Returns the next object in the iteration, i.e.
|
abstract
void
|
remove()
Removes the last object returned by next from the collection.
|
|
Public Methods
public
abstract
boolean
hasNext
()
Indicates whether there is another header in this iteration.
Returns
true
if there is another header,
false
otherwise
public
abstract
Header
nextHeader
()
Obtains the next header from this iteration.
This method should only be called while hasNext
is true.
Returns
- the next header in this iteration