public class AS4IncomingDumperSingleUse extends AbstractAS4IncomingDumperWithHeaders
IAS4IncomingDumper that can be used for a single
transmission and dumps it to the OutputStream provided in the
constructor. As there are no retries for incoming messages, the
implementation is pretty straight forward.| Constructor and Description |
|---|
AS4IncomingDumperSingleUse(OutputStream aOS) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputStream |
getOutputStream() |
protected OutputStream |
openOutputStream(IAS4IncomingMessageMetadata aMessageMetadata,
com.helger.commons.http.HttpHeaderMap aHttpHeaderMap)
Create the output stream to which the data should be dumped.
|
onNewRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonEndRequestpublic AS4IncomingDumperSingleUse(@Nonnull @WillNotClose OutputStream aOS)
@Nonnull protected final OutputStream getOutputStream()
protected OutputStream openOutputStream(@Nonnull IAS4IncomingMessageMetadata aMessageMetadata, @Nonnull com.helger.commons.http.HttpHeaderMap aHttpHeaderMap) throws IOException
AbstractAS4IncomingDumperWithHeadersopenOutputStream in class AbstractAS4IncomingDumperWithHeadersaMessageMetadata - Request metadata. Never null. Since v0.9.8.aHttpHeaderMap - The HTTP headers of the incoming message. Never null.null if no dumping
should be performed.IOException - On IO errorCopyright © 2015–2020 Philip Helger. All rights reserved.