Top Description Methods
org.apache.http.io

public Interface HttpMessageWriter<T extends org.apache.http.HttpMessage>

Known Direct Implementers
org.apache.http.impl.io.AbstractMessageWriter
Imports
java.io.IOException, org.apache.http.HttpException, .HttpMessage

Abstract message writer intended to serialize HTTP messages to an arbitrary data sink.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public void
write(T
HTTP message
message
)

Serializes an instance of HttpMessage to the underlying data sink.

Method Detail

writeback to summary
public void write(T message) throws IOException, HttpException

Serializes an instance of HttpMessage to the underlying data sink.

Parameters
message:T

HTTP message

Exceptions
IOException:
in case of an I/O error
HttpException:
in case of HTTP protocol violation