Class DefaultHttpResponseWriter

    • Constructor Detail

      • DefaultHttpResponseWriter

        public DefaultHttpResponseWriter​(SessionOutputBuffer buffer,
                                         org.apache.http.message.LineFormatter formatter)
        Creates an instance of DefaultHttpResponseWriter.
        Parameters:
        buffer - the session output buffer.
        formatter - the line formatter If null BasicLineFormatter.INSTANCE will be used.
        Since:
        4.3
      • DefaultHttpResponseWriter

        public DefaultHttpResponseWriter​(SessionOutputBuffer buffer)
        Since:
        4.3
    • Method Detail

      • writeHeadLine

        protected void writeHeadLine​(org.apache.http.HttpResponse message)
                              throws java.io.IOException
        Description copied from class: AbstractMessageWriter
        Writes out the first line of HttpMessage.
        Specified by:
        writeHeadLine in class AbstractMessageWriter<org.apache.http.HttpResponse>
        Parameters:
        message - HTTP message.
        Throws:
        java.io.IOException