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