DefaultHttpResponseWriter
@NotThreadSafe @Deprecated public class HttpResponseWriter extends AbstractMessageWriter<HttpResponse>
SessionOutputBuffer
.lineBuf, lineFormatter, sessionBuffer
Constructor and Description |
---|
HttpResponseWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeHeadLine(HttpResponse message)
Deprecated.
Subclasses must override this method to write out the first header line
based on the
HttpMessage passed as a parameter. |
write
public HttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
protected void writeHeadLine(HttpResponse message) throws java.io.IOException
AbstractMessageWriter
HttpMessage
passed as a parameter.writeHeadLine
in class AbstractMessageWriter<HttpResponse>
message
- the message whose first line is to be written out.java.io.IOException
- in case of an I/O error.