Package org.apache.http.impl.nio.codecs
Class HttpResponseWriter
java.lang.Object
org.apache.http.impl.nio.codecs.AbstractMessageWriter
org.apache.http.impl.nio.codecs.HttpResponseWriter
- All Implemented Interfaces:
NHttpMessageWriter
Deprecated.
Default
NHttpMessageWriter implementation
for HttpResponses.- Since:
- 4.0
-
Field Summary
Fields inherited from class org.apache.http.impl.nio.codecs.AbstractMessageWriter
lineBuf, lineFormatter, sessionBuffer -
Constructor Summary
ConstructorsConstructorDescriptionHttpResponseWriter(SessionOutputBuffer buffer, org.apache.http.message.LineFormatter formatter, org.apache.http.params.HttpParams params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwriteHeadLine(org.apache.http.HttpMessage message) Deprecated.Writes out the first line ofHttpMessage.Methods inherited from class org.apache.http.impl.nio.codecs.AbstractMessageWriter
reset, write
-
Constructor Details
-
HttpResponseWriter
public HttpResponseWriter(SessionOutputBuffer buffer, org.apache.http.message.LineFormatter formatter, org.apache.http.params.HttpParams params) Deprecated.
-
-
Method Details
-
writeHeadLine
Deprecated.Description copied from class:AbstractMessageWriterWrites out the first line ofHttpMessage.- Specified by:
writeHeadLinein classAbstractMessageWriter- Parameters:
message- HTTP message.- Throws:
IOException
-
DefaultHttpResponseWriter