Class BytestreamCache
java.lang.Object
org.apache.tapestry5.internal.services.assets.BytestreamCache
A wrapper around a byte-stream, represented internally as a byte array. Part of the fix
to TAP5-1116, avoiding a live lock due to ByteArrayOutputStream.writeTo() being a synchronized
method.
- Since:
- 5.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BytestreamCache
-
BytestreamCache
-
-
Method Details
-
writeTo
- Throws:
IOException
-
size
-
openStream
-