Class HttpInput.EofContent

All Implemented Interfaces:
Callback, Invocable
Enclosing class:
HttpInput

public static final class HttpInput.EofContent extends HttpInput.SpecialContent
EOF special content.
  • Constructor Details

    • EofContent

      public EofContent()
  • Method Details

    • isEof

      public boolean isEof()
      Description copied from class: HttpInput.Content
      Check 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:
      isEof in class HttpInput.Content
      Returns:
      true if EOF was reached, false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class HttpInput.Content