Interface HttpObject

    • Method Summary

      Modifier and Type Method Description
      boolean isEndOfStream()
      Tells whether the stream should be ended when writing this object.
    • Method Detail

      • isEndOfStream

        boolean isEndOfStream()
        Tells whether the stream should be ended when writing this object. This can be useful for HttpHeaders-only responses or to more efficiently close the stream along with the last piece of HttpData. This only has meaning for HttpObject writers, not readers.