public interface HttpMessageWriter
Modifier and Type | Method and Description |
---|---|
void |
write(HttpMessage message)
Serializes an instance of
HttpMessage to the underlying data
sink. |
void write(HttpMessage message) throws java.io.IOException, HttpException
HttpMessage
to the underlying data
sink.message
- java.io.IOException
- in case of an I/O errorHttpException
- in case of HTTP protocol violation