Class StreamingOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- org.jboss.resteasy.reactive.server.StreamingOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class StreamingOutputStream extends ByteArrayOutputStream
The only reason we use this is to give MessageBodyWriter classes the ability to tell if they are being called in a streaming context
-
-
Field Summary
-
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
-
Constructor Summary
Constructors Constructor Description StreamingOutputStream()
-
Method Summary
-
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
-