org.restlet.engine.http.io
Class OutboundStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.BufferedOutputStream
org.restlet.engine.http.io.OutboundStream
- All Implemented Interfaces:
- Closeable, Flushable
public class OutboundStream
- extends BufferedOutputStream
Buffered output stream that prevents the underlying stream from being closed.
- Author:
- Jerome Louvel
Method Summary |
void |
close()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutboundStream
public OutboundStream(OutputStream source)
- Constructor.
- Parameters:
source
- The decorated source stream.
OutboundStream
public OutboundStream(OutputStream source,
int size)
- Constructor.
- Parameters:
source
- The decorated source stream.size
- the buffer size.
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FilterOutputStream
- Throws:
IOException
Copyright © 2005-2011 Noelios Technologies.