Package org.apache.http.impl.nio.codecs
Class DefaultHttpResponseWriter
- java.lang.Object
-
- org.apache.http.impl.nio.codecs.AbstractMessageWriter<HttpResponse>
-
- org.apache.http.impl.nio.codecs.DefaultHttpResponseWriter
-
- All Implemented Interfaces:
NHttpMessageWriter<HttpResponse>
public class DefaultHttpResponseWriter extends AbstractMessageWriter<HttpResponse>
DefaultNHttpMessageWriter
implementation forHttpResponse
s.- Since:
- 4.1
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpResponseWriter(SessionOutputBuffer buffer)
DefaultHttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter)
Creates an instance of DefaultHttpResponseWriter.DefaultHttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
Deprecated.
-
Method Summary
-
Methods inherited from class org.apache.http.impl.nio.codecs.AbstractMessageWriter
reset, write
-
-
-
-
Constructor Detail
-
DefaultHttpResponseWriter
@Deprecated public DefaultHttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
Deprecated.
-
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.- Since:
- 4.3
-
DefaultHttpResponseWriter
public DefaultHttpResponseWriter(SessionOutputBuffer buffer)
- Since:
- 4.3
-
-