Package com.helger.phase4.dump
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.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetFile(EAS4MessageMode eMsgMode, String sAS4MessageID, int nTry) Get theFileto write the dump to.static StringgetFilename(String sAS4MessageID, int nTry)
-
Field Details
-
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 theFileto 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? Nevernull. Added in v1.2.0.sAS4MessageID- The AS4 message ID that was send out. Neithernullnor 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-
nullFile. - See Also:
-
getFilename
-