Package 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 public class HttpResponseWriter extends AbstractMessageWriter<HttpResponse>
Deprecated.(4.3) useDefaultHttpResponseWriter
HTTP response writer that serializes its output to an instance ofSessionOutputBuffer
.- Since:
- 4.0
-
-
Field Summary
-
Fields inherited from class org.apache.http.impl.io.AbstractMessageWriter
lineBuf, lineFormatter, sessionBuffer
-
-
Constructor Summary
Constructors Constructor Description HttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
writeHeadLine(HttpResponse message)
Deprecated.Subclasses must override this method to write out the first header line based on theHttpMessage
passed as a parameter.-
Methods inherited from class org.apache.http.impl.io.AbstractMessageWriter
write
-
-
-
-
Constructor Detail
-
HttpResponseWriter
public HttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
Deprecated.
-
-
Method Detail
-
writeHeadLine
protected void writeHeadLine(HttpResponse message) throws java.io.IOException
Deprecated.Description copied from class:AbstractMessageWriter
Subclasses must override this method to write out the first header line based on theHttpMessage
passed as a parameter.- Specified by:
writeHeadLine
in classAbstractMessageWriter<HttpResponse>
- Parameters:
message
- the message whose first line is to be written out.- Throws:
java.io.IOException
- in case of an I/O error.
-
-