public interface StreamCache
StreamCachingInterceptor
for determining if/how to wrap a stream-based message.Modifier and Type | Method and Description |
---|---|
void |
reset()
Resets the StreamCache for a new stream consumption.
|
void |
writeTo(OutputStream os)
Writes the stream to the given output
|
void reset()
void writeTo(OutputStream os) throws IOException
os
- the destination to write toIOException
- is thrown if write failsApache Camel