Package org.jboss.resteasy.util
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()voidsetDelegate(OutputStream delegate) voidwrite(byte[] bytes) voidwrite(byte[] bytes, int i, int i1) voidwrite(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:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-