From 0451857b250bfdd0292e0b17a80dc488ef7eae53 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Tue, 24 Oct 2023 14:07:50 +0200 Subject: [PATCH] Added change notes --- .../main/java/com/helger/phase4/dump/IAS4IncomingDumper.java | 2 ++ .../main/java/com/helger/phase4/dump/IAS4OutgoingDumper.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4IncomingDumper.java b/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4IncomingDumper.java index e4dd62ea9..07232b9f4 100644 --- a/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4IncomingDumper.java +++ b/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4IncomingDumper.java @@ -24,6 +24,7 @@ import com.helger.commons.http.HttpHeaderMap; import com.helger.phase4.messaging.IAS4IncomingMessageMetadata; +import com.helger.phase4.v3.ChangeV3; /** * Interface for dumping incoming requests @@ -64,6 +65,7 @@ OutputStream onNewRequest (@Nonnull IAS4IncomingMessageMetadata aMessageMetadata * Message metadata. Never null. * @since v0.9.9 */ + @ChangeV3 ("Make non default; add caught exception as Nullable") default void onEndRequest (@Nonnull final IAS4IncomingMessageMetadata aMessageMetadata) {} } diff --git a/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4OutgoingDumper.java b/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4OutgoingDumper.java index 8e90298d4..5895df221 100644 --- a/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4OutgoingDumper.java +++ b/phase4-lib/src/main/java/com/helger/phase4/dump/IAS4OutgoingDumper.java @@ -28,6 +28,7 @@ import com.helger.phase4.messaging.EAS4MessageMode; import com.helger.phase4.messaging.IAS4IncomingMessageMetadata; import com.helger.phase4.servlet.IAS4MessageState; +import com.helger.phase4.v3.ChangeV3; /** * Interface for dumping outgoing requests @@ -95,6 +96,7 @@ OutputStream onBeginRequest (@Nonnull EAS4MessageMode eMsgMode, * The AS4 message ID of the outgoing message. Neither * null nor empty. */ + @ChangeV3 ("Make non default") default void onEndRequest (@Nonnull final EAS4MessageMode eMsgMode, @Nullable final IAS4IncomingMessageMetadata aMessageMetadata, @Nullable final IAS4MessageState aState,