org.eclipse.webdav.http.client
Interface IRequestBodyWriter

All Known Implementing Classes:
RequestBodyWriter

public interface IRequestBodyWriter

An object writer for Requests whose body is in object form and shouldn't be flattened until an output stream is available.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
Request.Request(String, URL, IContext, IRequestBodyWriter), Request.getRequestBodyWriter()

Method Summary
 void writeRequestBody(OutputStream os)
          Writes a request body to the given output stream.
 

Method Detail

writeRequestBody

void writeRequestBody(OutputStream os)
                      throws IOException
Writes a request body to the given output stream.

Throws:
IOException - if there is a problem writing to the stream


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.