|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
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 HeaderElementIterator
true
if there is another header element,
false
otherwisepublic HeaderElement nextElement() throws NoSuchElementException
HeaderElementIterator
hasNext
is true.
nextElement
in interface HeaderElementIterator
NoSuchElementException
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 |