Class MultiPartByteRanges.Parts

java.lang.Object
org.eclipse.jetty.http.MultiPartByteRanges.Parts
All Implemented Interfaces:
Iterable<MultiPart.Part>
Enclosing class:
MultiPartByteRanges

public static class MultiPartByteRanges.Parts extends Object implements Iterable<MultiPart.Part>

An ordered list of MultiPart.Parts that can be accessed by index, or iterated over.

  • Method Details

    • getBoundary

      public String getBoundary()
      Returns:
      the boundary string
    • get

      public MultiPart.Part get(int index)

      Returns the MultiPart.Part at the given index, a number between 0 included and the value returned by size() excluded.

      Parameters:
      index - the index of the MultiPart.Part to return
      Returns:
      the MultiPart.Part at the given index
    • size

      public int size()
      Returns:
      the number of parts
      See Also:
    • iterator

      public Iterator<MultiPart.Part> iterator()
      Specified by:
      iterator in interface Iterable<MultiPart.Part>