AbstractMessageWriter, DefaultHttpRequestWriter, DefaultHttpResponseWriter, HttpRequestWriter, HttpResponseWriterpublic interface NHttpMessageWriter<T extends org.apache.http.HttpMessage>
| Modifier and Type | Method | Description |
|---|---|---|
void |
reset() |
Resets the writer.
|
void |
write(T message) |
Serializes out the HTTP message head.
|
void reset()
void write(T message) throws java.io.IOException, org.apache.http.HttpException
message - HTTP message.java.io.IOException - in case of an I/O error.org.apache.http.HttpException - in case the HTTP message is malformed or
violates the HTTP protocol.