public interface NHttpMessageWriter<T extends HttpMessage>
void reset()
void write(T message) throws java.io.IOException, HttpException
message - HTTP message.java.io.IOException - in case of an I/O error.HttpException - in case the HTTP message is malformed or
violates the HTTP protocol.