Package org.restlet.engine.io
Class PipeStream
java.lang.Object
org.restlet.engine.io.PipeStream
Pipe stream that pipes output streams into input streams. Implementation
based on a shared synchronized queue.
- Author:
- Jerome Louvel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a new input stream that can read from the pipe.Returns a new output stream that can write into the pipe.
-
Constructor Details
-
PipeStream
public PipeStream()Constructor.
-
-
Method Details
-
getInputStream
Returns a new input stream that can read from the pipe.- Returns:
- A new input stream that can read from the pipe.
-
getOutputStream
Returns a new output stream that can write into the pipe.- Returns:
- A new output stream that can write into the pipe.
-