Class InteractionUtils
- java.lang.Object
-
- com.sun.identity.liberty.ws.interaction.InteractionUtils
-
public class InteractionUtils extends Object
Class that provides some utility methods that work with objects related to interaction
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ListgetInteractionLangauge(Message message)Returns languages listed for the language attribute of theUserInteractionheader in the message.static MapgetParameters(com.sun.identity.liberty.ws.interaction.jaxb.InteractionResponseElement interactionResponseElement)Returns user friendlyMaprepresentation of parameters in interaction response element
-
-
-
Method Detail
-
getParameters
public static Map getParameters(com.sun.identity.liberty.ws.interaction.jaxb.InteractionResponseElement interactionResponseElement)
Returns user friendlyMaprepresentation of parameters in interaction response element- Parameters:
interactionResponseElement- obtained fromInteractionManager- Returns:
- a Map of parameters. Keys of the map are parameter name String objects. Values in the map are parameter value String objects
-
getInteractionLangauge
public static List getInteractionLangauge(Message message)
Returns languages listed for the language attribute of theUserInteractionheader in the message. Returns empty list ifUserInteractionheader is not included in the message- Parameters:
message- SOAP message from which to find out interaction languages- Returns:
- languages listed for the language attribute of the
UserInteractionheader in the message. Returns empty list ifUserInteractionheader is not included in the message
-
-