public interface StreamingContent
Implementations don't need to be thread-safe.
void writeTo(OutputStream out) throws IOException
Implementations must not close the output stream, and instead should flush the output stream. Some callers may assume that the output stream has not been closed, and will fail to work if it has been closed.
out- output stream
Copyright © 2011–2020 Google. All rights reserved.