Package org.eclipse.jetty.server
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 org.eclipse.jetty.server.HttpInput
HttpInput.ChainedInterceptor, HttpInput.Content, HttpInput.EofContent, HttpInput.EOFState, HttpInput.ErrorState, HttpInput.Interceptor, HttpInput.SentinelContent, HttpInput.State
-
Field Summary
Fields inherited from class org.eclipse.jetty.server.HttpInput
AEOF, ASYNC, EARLY_EOF, EARLY_EOF_CONTENT, EOF, EOF_CONTENT, STREAM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Called when derived implementations should attempt to produce more Content and add it viaHttpInput.addContent(Content)
.Methods inherited from class org.eclipse.jetty.server.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, wake
Methods inherited from class javax.servlet.ServletInputStream
readLine
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
HttpInputOverHTTP
-
-
Method Details
-
produceContent
Description copied from class:HttpInput
Called 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:
produceContent
in classHttpInput
- Throws:
IOException
- if unable to produce content
-