Class HttpInput.ErrorContent

  • All Implemented Interfaces:
    org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable
    Enclosing class:
    HttpInput

    public static final class HttpInput.ErrorContent
    extends HttpInput.SpecialContent
    Error special content.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

        org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.InvocableCallback, org.eclipse.jetty.util.Callback.Nested
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

        org.eclipse.jetty.util.thread.Invocable.InvocationType
    • Field Summary

      • Fields inherited from interface org.eclipse.jetty.util.Callback

        NOOP
      • Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

        __nonBlocking
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorContent​(java.lang.Throwable error)  
    • Constructor Detail

      • ErrorContent

        public ErrorContent​(java.lang.Throwable error)
    • Method Detail

      • getError

        public java.lang.Throwable getError()
        Description copied from class: HttpInput.Content
        Get the reported error. Only special contents can have an error.
        Overrides:
        getError in class HttpInput.Content
        Returns:
        the error or null if there is none.