Class MultiPartByteRanges.Parts
java.lang.Object
org.eclipse.jetty.http.MultiPartByteRanges.Parts
- All Implemented Interfaces:
Iterable<MultiPart.Part>
- Enclosing class:
MultiPartByteRanges
An ordered list of MultiPart.Parts that can
be accessed by index, or iterated over.
-
Method Summary
Modifier and TypeMethodDescriptionget(int index) Returns theMultiPart.Partat the given index, a number between0included and the value returned bysize()excluded.iterator()intsize()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getBoundary
- Returns:
- the boundary string
-
get
Returns the
MultiPart.Partat the given index, a number between0included and the value returned bysize()excluded.- Parameters:
index- the index of theMultiPart.Partto return- Returns:
- the
MultiPart.Partat the given index
-
size
public int size()- Returns:
- the number of parts
- See Also:
-
iterator
- Specified by:
iteratorin interfaceIterable<MultiPart.Part>
-