Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

HeaderElementIterator

implements Iterator <E>
org.apache.http.HeaderElementIterator
Known Indirect Subclasses

Class Overview

A type-safe iterator for HeaderElement objects.

Summary

Public Methods
abstract boolean hasNext ()
Indicates whether there is another header element in this iteration.
abstract HeaderElement nextElement ()
Obtains the next header element from this iteration.
[Expand]
Inherited Methods
From interface java.util.Iterator

Public Methods

public abstract boolean hasNext ()

Added in API level 1

Indicates whether there is another header element in this iteration.

Returns
  • true if there is another header element, false otherwise

public abstract HeaderElement nextElement ()

Added in API level 1

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