Interface HttpRequestBodyWriter


  • public interface HttpRequestBodyWriter
    Class which want to create own custom HTTP request body has to implement this interface.
    • Method Detail

      • writeToOutputStream

        void writeToOutputStream​(OutputStream outputStream)
                          throws IOException
        Write custom request body to output stream.
        Parameters:
        outputStream - Output stream.
        Throws:
        IOException - If anything goes wrong.