org.apache.http.nio.NHttpMessageWriter<T extends org.apache.http.HttpMessage> |
Known Indirect Subclasses
AbstractMessageWriter<T extends HttpMessage>,
DefaultHttpRequestWriter,
DefaultHttpResponseWriter,
HttpRequestWriter,
HttpResponseWriter
|
Abstract HTTP message writer for non-blocking connections.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Resets the writer.
| |||||||||||
Serializes out the HTTP message head.
|
Resets the writer. The writer will be ready to start serializing another HTTP message.
Serializes out the HTTP message head.
message | HTTP message. |
---|
IOException | in case of an I/O error. |
---|---|
HttpException | in case the HTTP message is malformed or violates the HTTP protocol. |