Class InputStreamPipeline

java.lang.Object
org.jgrapes.io.util.InputStreamPipeline
All Implemented Interfaces:
Runnable

public class InputStreamPipeline extends Object implements Runnable
Forwards the content of an input stream as a sequence of Output (or optionally Input) events.

The default settings and the constructor InputStreamPipeline(InputStream, IOSubchannel) reflect the usage of this class for generating a response (e.g. provide the content of a file in response to a request from a client). Using the class with a “downstream” event pipeline, generating Input events is used when an input stream generates events that should be processed as requests by the application.