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 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 be null.
      aOutgoingDumper - An optional outgoing dumper, that will also receive all the headers. May be null.
      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