org.apache.http.io
Interface HttpMessageWriter
- All Known Implementing Classes:
- AbstractMessageWriter, HttpRequestWriter, HttpResponseWriter
public interface HttpMessageWriter
Abstract message writer intended to serialize HTTP messages to an arbitrary
data sink.
- Since:
- 4.0
write
void write(HttpMessage message)
throws java.io.IOException,
HttpException
- Serializes an instance of
HttpMessage
to the underlying data
sink.
- Parameters:
message
-
- Throws:
java.io.IOException
- in case of an I/O error
HttpException
- in case of HTTP protocol violation
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.