public interface NHttpMessageWriter<T extends HttpMessage>
Modifier and Type | Method and Description |
---|---|
void |
reset()
Resets the writer.
|
void |
write(T message)
Serializes out the HTTP message head.
|
void reset()
void write(T message) throws IOException, HttpException
message
- HTTP message.IOException
- in case of an I/O error.HttpException
- in case the HTTP message is malformed or
violates the HTTP protocol.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses