HeaderElementIterator.
| Modifier and Type | Field and Description |
|---|---|
| private CharArrayBuffer | |
| private HeaderElement | |
| private ParserCursor | |
| private final HeaderIterator | |
| private final HeaderValueParser |
| Access | Constructor and Description |
|---|---|
| public | BasicHeaderElementIterator(final HeaderIterator headerIterator, final HeaderValueParser parser)
Creates a new instance of BasicHeaderElementIterator |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | hasNext()
Implements org. |
| public final Object | |
| public HeaderElement | nextElement()
Implements org. |
| private void | |
| public void | remove()
Overrides default java. |
| buffer | back to summary |
|---|---|
| private CharArrayBuffer buffer | |
| currentElement | back to summary |
|---|---|
| private HeaderElement currentElement | |
| cursor | back to summary |
|---|---|
| private ParserCursor cursor | |
| headerIt | back to summary |
|---|---|
| private final HeaderIterator headerIt | |
| parser | back to summary |
|---|---|
| private final HeaderValueParser parser | |
| BasicHeaderElementIterator | back to summary |
|---|---|
| public BasicHeaderElementIterator(final HeaderIterator headerIterator, final HeaderValueParser parser) Creates a new instance of BasicHeaderElementIterator | |
| BasicHeaderElementIterator | back to summary |
|---|---|
| public BasicHeaderElementIterator(final HeaderIterator headerIterator) | |
| bufferHeaderValue | back to summary |
|---|---|
| private void bufferHeaderValue() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org. Doc from org. Indicates whether there is another header element in this iteration.
| |
| next | back to summary |
|---|---|
| public final Object next() throws NoSuchElementException Implements java. Doc from java. Returns the next element in the iteration.
| |
| nextElement | back to summary |
|---|---|
| public HeaderElement nextElement() throws NoSuchElementException Implements org. Doc from org. Obtains the next header element from this iteration.
This method should only be called while
| |
| parseNextElement | back to summary |
|---|---|
| private void parseNextElement() | |
| remove | back to summary |
|---|---|
| public void remove() throws UnsupportedOperationException Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |