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