Package org.eclipse.jetty.http
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.Part
s that can
be accessed by index, or iterated over.
-
Method Summary
Modifier and TypeMethodDescriptionget
(int index) Returns theMultiPart.Part
at the given index, a number between0
included and the value returned bysize()
excluded.iterator()
int
size()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getBoundary
- Returns:
- the boundary string
-
get
Returns the
MultiPart.Part
at the given index, a number between0
included and the value returned bysize()
excluded.- Parameters:
index
- the index of theMultiPart.Part
to return- Returns:
- the
MultiPart.Part
at the given index
-
size
public int size()- Returns:
- the number of parts
- See Also:
-
iterator
- Specified by:
iterator
in interfaceIterable<MultiPart.Part>
-