Spring for Android

org.springframework.http
Interface HttpOutputMessage

All Superinterfaces:
HttpMessage
All Known Subinterfaces:
ClientHttpRequest
All Known Implementing Classes:
AbstractClientHttpRequest

public interface HttpOutputMessage
extends HttpMessage

Represents an HTTP output message, consisting of headers and a writable body.

Typically implemented by an HTTP request on the client-side, or a response on the server-side.

Since:
1.0
Author:
Arjen Poutsma

Method Summary
 java.io.OutputStream getBody()
          Return the body of the message as an output stream.
 
Methods inherited from interface org.springframework.http.HttpMessage
getHeaders
 

Method Detail

getBody

java.io.OutputStream getBody()
                             throws java.io.IOException
Return the body of the message as an output stream.

Returns:
the output stream body
Throws:
java.io.IOException - in case of I/O Errors

Spring for Android