public class HttpInputOverHTTP extends HttpInput
HttpInput.Content, HttpInput.EofContent, HttpInput.EOFState, HttpInput.ErrorState, HttpInput.PoisonPillContent, HttpInput.State| Constructor | Description |
|---|---|
HttpInputOverHTTP(HttpChannelState state) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
produceContent() |
Called when derived implementations should attempt to
produce more Content and add it via
HttpInput.addContent(Content). |
addContent, available, blockForContent, consumeAll, consumeNonContent, earlyEOF, eof, failed, get, getContentConsumed, getHttpChannelState, hasContent, isAsync, isError, isFinished, isReady, nextContent, nextReadable, onIdleTimeout, pollContent, pollReadable, read, read, recycle, remaining, run, setReadListener, skip, toString, unblockclose, mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferTopublic HttpInputOverHTTP(HttpChannelState state)
protected void produceContent()
throws java.io.IOException
HttpInputHttpInput.addContent(Content).
For protocols that are constantly producing (eg HTTP2) this can
be left as a noop;produceContent in class HttpInputjava.io.IOException - if unable to produce contentCopyright © 1995–2018 Webtide. All rights reserved.