Class HttpInput.EofContent
java.lang.Object
org.eclipse.jetty.ee9.nested.HttpInput.Content
org.eclipse.jetty.ee9.nested.HttpInput.SpecialContent
org.eclipse.jetty.ee9.nested.HttpInput.EofContent
- Enclosing class:
HttpInput
EOF special content.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Callback
Callback.Completable, Callback.Completing, Callback.NestedNested classes/interfaces inherited from interface Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task -
Field Summary
Fields inherited from class HttpInput.Content
_contentFields inherited from interface Invocable
__nonBlocking -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HttpInput.SpecialContent
get, getByteBuffer, hasContent, isEmpty, isSpecial, remaining, skipMethods inherited from class HttpInput.Content
asChunk, getError, getInvocationTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Callback
completeWith, failed, succeeded
-
Constructor Details
-
EofContent
public EofContent()
-
-
Method Details
-
isEof
public boolean isEof()Description copied from class:HttpInput.ContentCheck if EOF was reached. Both special and non-special content can have this flag set to true but in the case of non-special content, this can be interpreted as a hint as it is always going to be followed by another content that is both special and EOF.- Overrides:
isEofin classHttpInput.Content- Returns:
- true if EOF was reached, false otherwise.
-
toString
- Overrides:
toStringin classHttpInput.Content
-