@ThreadSafe public final class AS4DumpManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
getIncomingDumpAwareInputStream(IAS4IncomingDumper aIncomingDumper,
InputStream aRequestInputStream,
IAS4IncomingMessageMetadata aMessageMetadata,
com.helger.commons.http.HttpHeaderMap aHttpHeaders) |
static IAS4IncomingDumper |
getIncomingDumper() |
static IAS4OutgoingDumper |
getOutgoingDumper() |
static void |
setIncomingDumper(IAS4IncomingDumper aIncomingDumper)
Set the incoming dumper to be globally used.
|
static void |
setOutgoingDumper(IAS4OutgoingDumper aOutgoingDumper)
Set the outgoing dumper to be globally used.
|
@Nullable public static IAS4IncomingDumper getIncomingDumper()
null.public static void setIncomingDumper(@Nullable IAS4IncomingDumper aIncomingDumper)
aIncomingDumper - The new dumper. May be null.@Nullable public static IAS4OutgoingDumper getOutgoingDumper()
null.public static void setOutgoingDumper(@Nullable IAS4OutgoingDumper aOutgoingDumper)
aOutgoingDumper - The new dumper. May be null.@Nonnull public static InputStream getIncomingDumpAwareInputStream(@Nullable IAS4IncomingDumper aIncomingDumper, @Nonnull @WillNotClose InputStream aRequestInputStream, @Nonnull IAS4IncomingMessageMetadata aMessageMetadata, @Nonnull com.helger.commons.http.HttpHeaderMap aHttpHeaders) throws IOException
aIncomingDumper - The incoming AS4 dumper. May be null. The caller is
responsible to invoke getIncomingDumper()
outside.aRequestInputStream - The InputStream to read the request payload from. Will not be closed
internally. Never null.aMessageMetadata - Request metadata. Never null.aHttpHeaders - the HTTP headers of the current request. Never null.null.IOException - In case of IO errorCopyright © 2015–2020 Philip Helger. All rights reserved.