Class ResponseWriter

    • Constructor Detail

      • ResponseWriter

        public ResponseWriter​(String request,
                              Writer out,
                              int bufferSize)
    • Method Detail

      • isCommitted

        public boolean isCommitted()
        Indicates whether content has already been written to the client (flushed).
        Returns:
        true or false
      • isEmpty

        public boolean isEmpty()
        Indicates whether anything has been written with this writer. This does not necessarily mean that the content has also been flushed.
        Returns:
        true or false
      • getBufferSize

        public int getBufferSize()
        Size of the buffer.
        Returns:
        buffer size