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