Package org.restlet.engine.io
Class PipeStream
- java.lang.Object
-
- org.restlet.engine.io.PipeStream
-
public class PipeStream extends java.lang.Object
Pipe stream that pipes output streams into input streams. Implementation based on a shared synchronized queue.- Author:
- Jerome Louvel
-
-
Constructor Summary
Constructors Constructor Description PipeStream()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
Returns a new input stream that can read from the pipe.java.io.OutputStream
getOutputStream()
Returns a new output stream that can write into the pipe.
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream()
Returns a new input stream that can read from the pipe.- Returns:
- A new input stream that can read from the pipe.
-
getOutputStream
public java.io.OutputStream getOutputStream()
Returns a new output stream that can write into the pipe.- Returns:
- A new output stream that can write into the pipe.
-
-