Package org.eclipse.jetty.server
Class HttpInput.ErrorContent
java.lang.Object
org.eclipse.jetty.server.HttpInput.Content
org.eclipse.jetty.server.HttpInput.SpecialContent
org.eclipse.jetty.server.HttpInput.ErrorContent
- Enclosing class:
- HttpInput
Error special content.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.Nested
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task
-
Field Summary
Fields inherited from class org.eclipse.jetty.server.HttpInput.Content
_content
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
Constructor Summary
-
Method Summary
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
getInvocationType, isEof
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.Callback
completeWith, failed, succeeded
-
Constructor Details
-
ErrorContent
-
-
Method Details
-
getError
Description copied from class:HttpInput.Content
Get the reported error. Only special contents can have an error.- Overrides:
getError
in classHttpInput.Content
- Returns:
- the error or null if there is none.
-
toString
- Overrides:
toString
in classHttpInput.Content
-