- java.lang.Object
-
- org.eclipse.jetty.server.HttpInput.Content
-
- org.eclipse.jetty.server.HttpInput.SpecialContent
-
- org.eclipse.jetty.server.HttpInput.EofContent
-
- All Implemented Interfaces:
org.eclipse.jetty.util.Callback,org.eclipse.jetty.util.thread.Invocable
- Enclosing class:
- HttpInput
public static final class HttpInput.EofContent extends HttpInput.SpecialContent
EOF special content.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.server.HttpInput.Content
_content
-
-
Constructor Summary
Constructors Constructor Description EofContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEof()Check if EOF was reached.java.lang.StringtoString()-
Methods inherited from class org.eclipse.jetty.server.HttpInput.SpecialContent
get, getByteBuffer, hasContent, isEmpty, isSpecial, remaining, skip
-
Methods inherited from class org.eclipse.jetty.server.HttpInput.Content
getError, getInvocationType
-
-
-
-
Method Detail
-
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
public java.lang.String toString()
- Overrides:
toStringin classHttpInput.Content
-
-