public class DefaultHttpResponseWriter extends AbstractMessageWriter<ClassicHttpResponse>
SessionOutputBuffer.| Constructor and Description |
|---|
DefaultHttpResponseWriter() |
DefaultHttpResponseWriter(LineFormatter formatter)
Creates an instance of DefaultHttpResponseWriter.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeHeadLine(ClassicHttpResponse message,
CharArrayBuffer lineBuf)
Subclasses must override this method to write out the first header line
based on the
HttpMessage passed as a parameter. |
writepublic DefaultHttpResponseWriter(LineFormatter formatter)
formatter - the line formatter If null
BasicLineFormatter.INSTANCE
will be used.public DefaultHttpResponseWriter()
protected void writeHeadLine(ClassicHttpResponse message, CharArrayBuffer lineBuf) throws IOException
AbstractMessageWriterHttpMessage passed as a parameter.writeHeadLine in class AbstractMessageWriter<ClassicHttpResponse>message - the message whose first line is to be written out.lineBuf - line bufferIOException - in case of an I/O error.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.