@Immutable public final class AS2HttpHeaderWrapperHttpURLConnection extends Object implements IAS2HttpHeaderWrapper
| Constructor and Description |
|---|
AS2HttpHeaderWrapperHttpURLConnection(IAS2HttpConnection aConn) |
AS2HttpHeaderWrapperHttpURLConnection(IAS2HttpConnection aConn,
IHTTPOutgoingDumper aOutgoingDumper)
Constructor with debug support
|
| Modifier and Type | Method and Description |
|---|---|
void |
setHttpHeader(String sName,
String sValue)
Set an HTTP header
|
public AS2HttpHeaderWrapperHttpURLConnection(@Nonnull IAS2HttpConnection aConn)
public AS2HttpHeaderWrapperHttpURLConnection(@Nonnull IAS2HttpConnection aConn, @Nullable IHTTPOutgoingDumper aOutgoingDumper)
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.public void setHttpHeader(@Nonnull String sName, @Nonnull String sValue)
IAS2HttpHeaderWrappersetHttpHeader in interface IAS2HttpHeaderWrappersName - Header namesValue - Header valueCopyright © 2013–2019 Philip Helger. All rights reserved.