External references, such as a standards document, or specification?
http://code.google.com/p/google-http-java-client/issues/detail?id=112
Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?
All
Please describe the feature requested.
We should have an ObjectGenerator that does for serialization what ObjectParser
does for parsing. It should look roughly like this:
public interface ObjectGenerator {
void generate(OutputStream out, Charset charset, boolean closeStream, Object item) throws IOException;
void generate(Writer writer, Charset charset, boolean closeWriter, Object item) throws IOException;
}
We may also implement ObjectGeneratorContent extends AbstractHttpContent that
accepts an ObjectGenerator.
Original issue reported on code.google.com by yan...@google.com on 31 May 2012 at 12:46
Original issue reported on code.google.com by
yan...@google.com
on 31 May 2012 at 12:46