Interface ContentProducer


public interface ContentProducer
ContentProducer is the bridge between HttpInput and HttpChannel. It wraps a HttpChannel and uses the HttpChannel.needContent(), HttpChannel.produceContent() and HttpChannel.failAllContent(Throwable) methods, tracks the current state of the channel's input by updating the HttpChannelState and provides the necessary mechanism to unblock the reader thread when using a blocking implementation or to know if the reader thread has to be rescheduled when using an async implementation.