Interface IAS4IncomingDumperFileProvider

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 interface IAS4IncomingDumperFileProvider
Callback interface to create a file based on the provided metadata.
Since:
0.9.8
Author:
Philip Helger
  • Field Details

    • DEFAULT_FILE_EXTENSION

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

    • createFile

      @Nonnull File createFile(@Nonnull IAS4IncomingMessageMetadata aMessageMetadata, @Nonnull com.helger.http.header.HttpHeaderMap aHttpHeaderMap)
      Get the File to write the dump to. The filename must be globally unique. The resulting file should be an absolute path.
      Parameters:
      aMessageMetadata - The message metadata of the incoming message. Never null.
      aHttpHeaderMap - The HTTP headers of the incoming message. Never null.
      Returns:
      A non-null File.
      See Also:
    • getDefaultDirectoryName

      @Nonnull static String getDefaultDirectoryName(@Nonnull IAS4IncomingMessageMetadata aMessageMetadata)
    • getDefaultFilename

      @Nonnull static String getDefaultFilename(@Nonnull IAS4IncomingMessageMetadata aMessageMetadata)
    • getDefaultDirectoryAndFilename

      @Nonnull static String getDefaultDirectoryAndFilename(@Nonnull IAS4IncomingMessageMetadata aMessageMetadata)