public interface HttpMessageWriter<T extends MessageHeaders>
Modifier and Type | Method and Description |
---|---|
void |
write(T message,
SessionOutputBuffer buffer,
OutputStream outputStream)
Serializes an instance of
MessageHeaders to the given output stream. |
void write(T message, SessionOutputBuffer buffer, OutputStream outputStream) throws IOException, HttpException
MessageHeaders
to the given output stream.message
- HTTP message headbuffer
- session output bufferIOException
- in case of an I/O errorHttpException
- in case of HTTP protocol violationCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.