org.restlet.engine.io
Class PipeStream

java.lang.Object
  extended by 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 Summary
PipeStream()
          Constructor.
 
Method Summary
 InputStream getInputStream()
          Returns a new input stream that can read from the pipe.
 OutputStream getOutputStream()
          Returns a new output stream that can write into the pipe.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipeStream

public PipeStream()
Constructor.

Method Detail

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.


Copyright © 2005-2013 Restlet.