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:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Runnable
public class HttpInputOverHTTP extends HttpInput
-
-
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
-
-
Constructor Summary
Constructors Constructor Description HttpInputOverHTTP(HttpChannelState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
produceContent()
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
-
-
-
-
Constructor Detail
-
HttpInputOverHTTP
public HttpInputOverHTTP(HttpChannelState state)
-
-
Method Detail
-
produceContent
protected void produceContent() throws java.io.IOException
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:
java.io.IOException
- if unable to produce content
-
-