Class HttpInputOverHTTP
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
org.eclipse.jetty.server.HttpInput
org.eclipse.jetty.server.HttpInputOverHTTP
- All Implemented Interfaces:
Closeable, AutoCloseable, Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class HttpInput
HttpInput.ChainedInterceptor, HttpInput.Content, HttpInput.EofContent, HttpInput.EOFState, HttpInput.ErrorState, HttpInput.Interceptor, HttpInput.SentinelContent, HttpInput.State -
Field Summary
Fields inherited from class HttpInput
AEOF, ASYNC, EARLY_EOF, EARLY_EOF_CONTENT, EOF, EOF_CONTENT, STREAM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled when derived implementations should attempt to produce more Content and add it viaHttpInput.addContent(Content).Methods inherited from class HttpInput
addContent, addInterceptor, asyncReadProduce, available, blockForContent, consumeAll, earlyEOF, eof, failed, get, getContentConsumed, getContentReceived, getHttpChannelState, getInterceptor, hasContent, isAsync, isError, isFinished, isReady, nextContent, nextInterceptedContent, nextNonSentinelContent, onIdleTimeout, produceNextContent, read, read, recycle, run, setInterceptor, setReadListener, toString, unblock, wakeMethods inherited from class javax.servlet.ServletInputStream
readLineMethods inherited from class InputStream
close, mark, markSupported, read, reset, skip
-
Constructor Details
-
HttpInputOverHTTP
-
-
Method Details
-
produceContent
Description copied from class:HttpInputCalled when derived implementations should attempt to produce more Content and add it viaHttpInput.addContent(Content). For protocols that are constantly producing (eg HTTP2) this can be left as a noop;- Overrides:
produceContentin classHttpInput- Throws:
IOException- if unable to produce content
-