org.apache.http.impl.io
Class HttpResponseWriter
java.lang.Object
org.apache.http.impl.io.AbstractMessageWriter<HttpResponse>
org.apache.http.impl.io.HttpResponseWriter
- All Implemented Interfaces:
- HttpMessageWriter<HttpResponse>
Deprecated. (4.3) use DefaultHttpResponseWriter
@Deprecated
public class HttpResponseWriter
- extends AbstractMessageWriter<HttpResponse>
HTTP response writer that serializes its output to an instance
of SessionOutputBuffer
.
- Since:
- 4.0
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpResponseWriter
public HttpResponseWriter(SessionOutputBuffer buffer,
LineFormatter formatter,
HttpParams params)
- Deprecated.
writeHeadLine
protected void writeHeadLine(HttpResponse message)
throws IOException
- Deprecated.
- Description copied from class:
AbstractMessageWriter
- Subclasses must override this method to write out the first header line
based on the
HttpMessage
passed as a parameter.
- Specified by:
writeHeadLine
in class AbstractMessageWriter<HttpResponse>
- Parameters:
message
- the message whose first line is to be written out.
- Throws:
IOException
- in case of an I/O error.
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.