Package com.helger.phase4.servlet
Interface IAS4IncomingProfileSelector
- All Known Implementing Classes:
AS4IncomingProfileSelectorFromGlobal
public interface IAS4IncomingProfileSelector
Callback interface to determine the used AS4 profile of an incoming message.
- Since:
- 0.13.0
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiongetAS4ProfileID(IAS4MessageState aState) Try to determine the AS4 profile to be used for an incoming message.default booleanConfigure if the profile validation rules should be applied or not.
-
Method Details
-
getAS4ProfileID
Try to determine the AS4 profile to be used for an incoming message. This method is only called after the SOAP headers were processed successfully.- Parameters:
aState- The message state of processing. Nevernull.- Returns:
- The AS4 profile ID or
nullif none was found.
-
validateAgainstProfile
default boolean validateAgainstProfile()Configure if the profile validation rules should be applied or not. Usually this is recommended, but there might be edge cases where it is good to be able to deactivate them.- Returns:
trueif profile validation should be performed,falseif not. The default istrue.- Since:
- 0.13.1
-