Package org.apache.http.impl.io
Class DefaultHttpResponseWriter
- java.lang.Object
-
- org.apache.http.impl.io.AbstractMessageWriter<HttpResponse>
-
- org.apache.http.impl.io.DefaultHttpResponseWriter
-
- All Implemented Interfaces:
HttpMessageWriter<HttpResponse>
public class DefaultHttpResponseWriter extends AbstractMessageWriter<HttpResponse>
HTTP response writer that serializes its output to an instance ofSessionOutputBuffer
.- Since:
- 4.3
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpResponseWriter(SessionOutputBuffer buffer)
DefaultHttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter)
Creates an instance of DefaultHttpResponseWriter.
-
Method Summary
-
Methods inherited from class org.apache.http.impl.io.AbstractMessageWriter
write
-
-
-
-
Constructor Detail
-
DefaultHttpResponseWriter
public DefaultHttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter)
Creates an instance of DefaultHttpResponseWriter.- Parameters:
buffer
- the session output buffer.formatter
- the line formatter Ifnull
BasicLineFormatter.INSTANCE
will be used.
-
DefaultHttpResponseWriter
public DefaultHttpResponseWriter(SessionOutputBuffer buffer)
-
-