Class AS4IncomingMessageMetadata

java.lang.Object
com.helger.phase4.incoming.AS4IncomingMessageMetadata
All Implemented Interfaces:
IAS4IncomingMessageMetadata

public class AS4IncomingMessageMetadata extends Object implements IAS4IncomingMessageMetadata
This class holds optional metadata for a single incoming request. This is the default implementation of IAS4IncomingMessageMetadata.
Since:
0.9.8
Author:
Philip Helger
  • Constructor Details

    • AS4IncomingMessageMetadata

      protected AS4IncomingMessageMetadata(@Nonnull EAS4MessageMode eMode)
      Default constructor using a UUID as the incoming unique ID and the current date time.
      Parameters:
      eMode - The messaging mode. May not be null.
    • AS4IncomingMessageMetadata

      protected AS4IncomingMessageMetadata(@Nonnull @Nonempty String sIncomingUniqueID, @Nonnull OffsetDateTime aIncomingDT, @Nonnull EAS4MessageMode eMode)
      Constructor in case this every needs to be deserialized or other weird things are necessary.
      Parameters:
      sIncomingUniqueID - Incoming unique ID. May neither be null nor empty.
      aIncomingDT - The incoming date time. May not be null.
      eMode - The messaging mode. May not be null.
  • Method Details