Package com.helger.phase4.model
Class AS4Helper
java.lang.Object
com.helger.phase4.model.AS4Helper
Generic AS4 helper for specification related things.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPingMessage(@Nullable IPMode aPMode) Check if the combination of Action and Service resembles an EBMS Ping (aka test) Message as described in chapter 5.2.2.9.static booleanisPingMessage(@Nullable PModeLegBusinessInformation aBusinessInfo) Check if the combination of Action and Service resembles an EBMS Ping (aka test) Message as described in chapter 5.2.2.9.static booleanisPingMessage(@Nullable String sAction, @Nullable String sService) Check if the combination of Action and Service resembles an EBMS Ping (aka test) Message as described in chapter 5.2.2.9.
-
Method Details
-
isPingMessage
Check if the combination of Action and Service resembles an EBMS Ping (aka test) Message as described in chapter 5.2.2.9.- Parameters:
sAction- Action value. May benull.sService- Service value. May benull.- Returns:
trueif the action is "http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/test" and service is "http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/service",falseotherwise.
-
isPingMessage
Check if the combination of Action and Service resembles an EBMS Ping (aka test) Message as described in chapter 5.2.2.9.- Parameters:
aBusinessInfo- PMode business information. May benull.- Returns:
trueif the action is "http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/test" and service is "http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/service",falseotherwise.
-
isPingMessage
Check if the combination of Action and Service resembles an EBMS Ping (aka test) Message as described in chapter 5.2.2.9.- Parameters:
aPMode- to check. May benull- Returns:
trueif the default values to ping are not used elsefalse
-