Interface BodyParser<T>

    • Method Detail

      • parseBody

        T parseBody​(java.io.InputStream inputStream,
                    @Nullable
                    java.lang.String contentType)
             throws java.io.IOException
        Parse the body.
        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.