Package org.apache.juneau.http.part
Class BasicPartIterator
java.lang.Object
org.apache.juneau.http.part.BasicPartIterator
- All Implemented Interfaces:
Iterator<NameValuePair>
,PartIterator
-
Constructor Summary
ConstructorDescriptionBasicPartIterator
(NameValuePair[] parts, String name, boolean caseInsensitive) Creates a new part iterator. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
BasicPartIterator
Creates a new part iterator.- Parameters:
parts
- An array of parts over which to iterate.name
- The name of the parts over which to iterate, ornull for all.caseInsensitive
- Use case-insensitive matching for part name.
-
-
Method Details
-
hasNext
- Specified by:
hasNext
in interfaceIterator<NameValuePair>
-
next
- Specified by:
next
in interfaceIterator<NameValuePair>
- Throws:
NoSuchElementException
-
remove
Not supported.- Specified by:
remove
in interfaceIterator<NameValuePair>
- Throws:
UnsupportedOperationException
-