Interface AS4OutgoingDumperFileBased.IFileProvider

Enclosing class:
AS4OutgoingDumperFileBased
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AS4OutgoingDumperFileBased.IFileProvider
  • Field Details

    • DEFAULT_FILE_EXTENSION

      static final String DEFAULT_FILE_EXTENSION
      The default file extension to be used
      See Also:
  • Method Details

    • getFile

      @Nonnull File getFile(@Nonnull EAS4MessageMode eMsgMode, @Nonnull @Nonempty String sAS4MessageID, @Nonnegative int nTry)
      Get the File to write the dump to. The filename must be globally unique. The resulting file should be an absolute path.
      Parameters:
      eMsgMode - Are we dumping a request or a response? Never null. Added in v1.2.0.
      sAS4MessageID - The AS4 message ID that was send out. Neither null nor empty.
      nTry - The number of the try to send the message. The initial try has value 0, the first retry has value 1 etc.
      Returns:
      A non-null File.
      See Also:
    • getFilename

      @Nonnull static String getFilename(@Nonnull @Nonempty String sAS4MessageID, @Nonnegative int nTry)