|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamCache
Tagging interface to indicate that a type is capable of caching the underlying data stream.
This is a useful feature for avoid message re-readability issues. This interface is mainly used by theStreamCachingInterceptor
for determining if/how to wrap a stream-based message.
Method Summary | |
---|---|
void |
reset()
Resets the StreamCache for a new stream consumption. |
void |
writeTo(java.io.OutputStream os)
Writes the stream to the given output |
Method Detail |
---|
void reset()
void writeTo(java.io.OutputStream os) throws java.io.IOException
os
- the destination to write to
java.io.IOException
- is thrown if write fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |