Class MultiPartBodyParser.MultiPartBody

  • Enclosing class:
    MultiPartBodyParser

    public static class MultiPartBodyParser.MultiPartBody
    extends java.lang.Object
    Class representing the collection of HttpPart in the request.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HttpPart nextPart()
      Consumes the input stream from the request to get the next HttpPart available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • nextPart

        @Nullable
        public HttpPart nextPart()
                          throws java.io.IOException
        Consumes the input stream from the request to get the next HttpPart available.
        Returns:
        the next HttpPart initialized, null if not found.
        Throws:
        java.io.IOException - if an IOException occurs during the parsing of the headers.