org.restlet.engine.http.io
Class InboundStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
org.restlet.engine.http.io.InboundStream
- All Implemented Interfaces:
- Closeable
public class InboundStream
- extends BufferedInputStream
Buffered input stream that prevent 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 |
InboundStream
public InboundStream(InputStream source)
- Constructor.
- Parameters:
source
- The source input stream.
InboundStream
public InboundStream(InputStream source,
int size)
- Constructor.
- Parameters:
source
- The source input stream.size
- the buffer size.
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class BufferedInputStream
- Throws:
IOException
Copyright © 2005-2011 Noelios Technologies.