Package com.helger.as2lib.util.http
Class AS2HttpHeaderSetter
java.lang.Object
com.helger.as2lib.util.http.AS2HttpHeaderSetter
Set HTTP header including logging
- Author:
- Philip Helger
-
Constructor Summary
ConstructorDescriptionAS2HttpHeaderSetter
(AS2HttpClient aConn, IHTTPOutgoingDumper aOutgoingDumper, boolean bQuoteHeaderValues) Constructor with debug support -
Method Summary
-
Constructor Details
-
AS2HttpHeaderSetter
public AS2HttpHeaderSetter(@Nonnull AS2HttpClient aConn, @Nullable IHTTPOutgoingDumper aOutgoingDumper, boolean bQuoteHeaderValues) Constructor with debug support- Parameters:
aConn
- The HTTP URL connection to use. May not benull
.aOutgoingDumper
- An optional outgoing dumper, that will also receive all the headers. May benull
.bQuoteHeaderValues
-true
if HTTP header values should be automatically quoted,false
if not. This might be an interoperability issue. The receiving side must be able to unquote according to RFC 2616.
-
-
Method Details
-
setHttpHeader
-