Package com.helger.as2lib.util.http
Class AS2HttpHeaderSetter
- java.lang.Object
-
- com.helger.as2lib.util.http.AS2HttpHeaderSetter
-
@Immutable public final class AS2HttpHeaderSetter extends Object
Set HTTP header including logging- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description AS2HttpHeaderSetter(AS2HttpClient aConn, IHTTPOutgoingDumper aOutgoingDumper, boolean bQuoteHeaderValues)Constructor with debug support
-
-
-
Constructor Detail
-
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-trueif HTTP header values should be automatically quoted,falseif not. This might be an interoperability issue. The receiving side must be able to unquote according to RFC 2616.
-
-