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