Class PipeStream

java.lang.Object
org.restlet.engine.io.PipeStream

public class PipeStream extends Object
Pipe stream that pipes output streams into input streams. Implementation based on a shared synchronized queue.
Author:
Jerome Louvel
  • Constructor Details

    • PipeStream

      public PipeStream()
      Constructor.
  • Method Details

    • getInputStream

      public 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 OutputStream getOutputStream()
      Returns a new output stream that can write into the pipe.
      Returns:
      A new output stream that can write into the pipe.