content
Streaming content.
StreamingContentLoggingOutputStream.
Implementation is not thread-safe.
private final StreamingContentprivate final int0 to avoid logging content.private final Loggerprivate final LevelLoggingStreamingContent(StreamingContent content,
Logger logger,
Level loggingLevel,
int contentLoggingLimit) voidwriteTo(OutputStream out) 0 to avoid logging content.content - streaming contentlogger - loggerloggingLevel - logging levelcontentLoggingLimit - maximum number of bytes to log or 0 to avoid logging contentStreamingContentImplementations 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.
writeTo in interface StreamingContentout - output streamIOException