public interface HttpMessageWriter<T extends HttpMessage>
| 限定符和类型 | 方法和说明 |
|---|---|
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