|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.message.BasicHeaderElementIterator
@NotThreadSafe 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()
|
HeaderElement |
nextElement()
Obtains the next header element from this iteration. |
void |
remove()
|
| 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 Iterator<Object>hasNext in interface HeaderElementIteratortrue if there is another header element,
false otherwise
public HeaderElement nextElement()
throws NoSuchElementException
HeaderElementIteratorhasNext
is true.
nextElement in interface HeaderElementIteratorNoSuchElementException
public final Object next()
throws NoSuchElementException
next in interface Iterator<Object>NoSuchElementException
public void remove()
throws UnsupportedOperationException
remove in interface Iterator<Object>UnsupportedOperationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||