Top Description Fields Constructors Methods
org.glassfish.grizzly.http.util

pack-priv final Class ValuesIterator

Located in compilation unit of org.glassfish.grizzly.http.util.MimeHeaders.

extends BaseIterator
Class Inheritance

Enumerate the values for a (possibly ) multiple value element.

Field Summary

Modifier and TypeField and Description
pack-priv final String
pack-priv DataChunk
Inherited from org.glassfish.grizzly.http.util.BaseIterator:
currentPosheaderspossize

Constructor Summary

AccessConstructor and Description
pack-priv
ValuesIterator(final MimeHeaders headers, final String name, final boolean trailersOnly)

Method Summary

Modifier and TypeMethod and Description
protected void
public boolean
hasNext()

Implements java.util.Iterator.hasNext.

Returns true if the iteration has more elements.

public String
next()

Implements java.util.Iterator.next.

Returns the next element in the iteration.

Inherited from org.glassfish.grizzly.http.util.BaseIterator:
remove

Field Detail

nameback to summary
pack-priv final String name
nextback to summary
pack-priv DataChunk next

Constructor Detail

ValuesIteratorback to summary
pack-priv ValuesIterator(final MimeHeaders headers, final String name, final boolean trailersOnly)

Method Detail

findNextback to summary
protected void findNext()

Implements abstract org.glassfish.grizzly.http.util.BaseIterator.findNext.

Annotations
@Override
hasNextback to summary
public boolean hasNext()

Implements java.util.Iterator.hasNext.

Doc from java.util.Iterator.hasNext.

Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Annotations
@Override
nextback to summary
public String next()

Implements java.util.Iterator.next.

Doc from java.util.Iterator.next.

Returns the next element in the iteration.

Annotations
@Override