Android
org.apache.http
public interface

org.apache.http.HeaderIterator

org.apache.http.HeaderIterator Iterator<E>

A type-safe iterator for Header objects.

Known Indirect Subclasses

Summary

Public Methods

          boolean  hasNext()
Indicates whether there is another header in this iteration.
          Header  nextHeader()
Obtains the next header from this iteration.
Methods inherited from interface java.util.Iterator

Details

Public Methods

public boolean hasNext()

Indicates whether there is another header in this iteration.

Returns

  • true if there is another header, false otherwise

public 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
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48