Interface HttpBodyAccessor.HttpBodyProvider<EXC extends java.lang.Exception>

    • Method Detail

      • toHttpBody

        java.lang.String toHttpBody​()
                             throws EXC extends java.lang.Exception
        Converts an object representing the HTTP body to a String instance. Automatically determines the ContentType from any headers when applicable.
        Returns:
        The converted String instance represented by the according object.
        Throws:
        EXC - Thrown in case providing the type as String failed.
        EXC extends java.lang.Exception