DefaultHttpResponseWriter@NotThreadSafe @Deprecated public class HttpResponseWriter extends AbstractMessageWriter<HttpResponse>
SessionOutputBuffer.lineBuf, lineFormatter, sessionBuffer| 构造器和说明 |
|---|
HttpResponseWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 HttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
protected void writeHeadLine(HttpResponse message) throws java.io.IOException
AbstractMessageWriterHttpMessage passed as a parameter.writeHeadLine 在类中 AbstractMessageWriter<HttpResponse>message - the message whose first line is to be written out.java.io.IOException - in case of an I/O error.