Class DelegatingOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.resteasy.util.DelegatingOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
flush()
void
setDelegate
(OutputStream delegate) void
write
(byte[] bytes) void
write
(byte[] bytes, int i, int i1) void
write
(int i) Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegatingOutputStream
public DelegatingOutputStream() -
DelegatingOutputStream
-
-
Method Details
-
getDelegate
-
setDelegate
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-