Top Description Methods
org.apache.http

public Interface HeaderElementIterator

extends Iterator<Object>
Known Direct Implementers
org.apache.http.message.BasicHeaderElementIterator
Imports
java.util.Iterator

A type-safe iterator for HeaderElement objects.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if there is another header element, false otherwise
hasNext
()

Redeclares java.util.Iterator.hasNext.

Indicates whether there is another header element in this iteration.
public HeaderElement

Returns:

the next header element in this iteration
nextElement
()

Obtains the next header element from this iteration.

Inherited from java.util.Iterator:
forEachRemainingnextremove

Method Detail

hasNextback to summary
public boolean hasNext()

Redeclares java.util.Iterator.hasNext.

Indicates whether there is another header element in this iteration.

Returns:boolean

true if there is another header element, false otherwise

Annotations
@Override
nextElementback to summary
public HeaderElement nextElement()

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

Returns:HeaderElement

the next header element in this iteration