Interface NHttpMessageWriter<T extends HttpMessage>

    • Method Detail

      • reset

        void reset()
        Resets the writer. The writer will be ready to start serializing another HTTP message.
      • write

        void write​(T message)
            throws java.io.IOException,
                   HttpException
        Serializes out the HTTP message head.
        Parameters:
        message - HTTP message.
        Throws:
        java.io.IOException - in case of an I/O error.
        HttpException - in case the HTTP message is malformed or violates the HTTP protocol.