T - The type of MessageHeaders.public interface NHttpMessageWriter<T extends MessageHeaders>
| Modifier and Type | Method and Description | 
|---|---|
| void | reset()Resets the writer. | 
| void | write(T message,
     SessionOutputBuffer buffer)Writes out the HTTP message head. | 
void reset()
void write(T message, SessionOutputBuffer buffer) throws IOException, HttpException
message - HTTP message.buffer - session output buffer.IOException - in case of an I/O error.HttpException - in case the HTTP message is malformed or
  violates the HTTP protocol.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.