Class MultipartStringsParser

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] parseBody​(java.io.InputStream inputStream, java.lang.String contentType)
      Parse the body.
      • Methods inherited from class java.lang.Object

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

      • MultipartStringsParser

        public MultipartStringsParser()
    • Method Detail

      • parseBody

        public java.lang.String[] parseBody​(java.io.InputStream inputStream,
                                            @Nullable
                                            java.lang.String contentType)
                                     throws java.io.IOException
        Description copied from interface: BodyParser
        Parse the body.
        Specified by:
        parseBody in interface BodyParser<java.lang.String[]>
        Parameters:
        inputStream - the body InputStream.
        contentType - the "content-type" header of the request.
        Returns:
        the body.
        Throws:
        java.io.IOException - when an IOException occurs during the parsing.