|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.message.BasicHeaderElementIterator
public class BasicHeaderElementIterator
Basic implementation of a HeaderElementIterator.
| Constructor Summary | |
|---|---|
BasicHeaderElementIterator(HeaderIterator headerIterator)
|
|
BasicHeaderElementIterator(HeaderIterator headerIterator,
HeaderValueParser parser)
Creates a new instance of BasicHeaderElementIterator |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Indicates whether there is another header element in this iteration. |
Object |
next()
Returns the next object in the iteration. |
HeaderElement |
nextElement()
Obtains the next header element from this iteration. |
void |
remove()
Removes the last object returned by next from the
collection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicHeaderElementIterator(HeaderIterator headerIterator,
HeaderValueParser parser)
public BasicHeaderElementIterator(HeaderIterator headerIterator)
| Method Detail |
|---|
public boolean hasNext()
HeaderElementIterator
hasNext in interface IteratorhasNext in interface HeaderElementIteratortrue if there is another header element,
false otherwiseIterator.next()
public HeaderElement nextElement()
throws NoSuchElementException
HeaderElementIteratorhasNext
is true.
nextElement in interface HeaderElementIteratorNoSuchElementException
public final Object next()
throws NoSuchElementException
Iterator
next in interface IteratorNoSuchElementException - when there are no more elementsIterator.hasNext()
public void remove()
throws UnsupportedOperationException
Iteratornext from the
collection.
remove in interface IteratorUnsupportedOperationException - when removing is not supported by the collection being
iterated
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||