Interface ICustomBodyDataBuilder<Self>

    • Method Detail

      • setBodyData

        Self setBodyData​(StringData data)
        Parameters:
        data - The custom data string to set to the body
        Returns:
        This builder for chaining method calls.
      • overrideContentType

        void overrideContentType​(String contentType)
                          throws org.apache.http.ParseException,
                                 UnsupportedCharsetException
        Method to override the content type
        Parameters:
        contentType - The content type to set
        Throws:
        org.apache.http.ParseException - On errors while parsing the content type
        UnsupportedCharsetException - On errors while parsing the charset for the content type