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 IOException, HttpException
HttpMessage
to the underlying data
sink.message
- HTTP messageIOException
- in case of an I/O errorHttpException
- in case of HTTP protocol violationCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.