com.sun.identity.liberty.ws.interaction
Class InteractionUtils

java.lang.Object
  extended by 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
static List getInteractionLangauge(Message message)
          Returns languages listed for the language attribute of the UserInteraction header in the message.
static Map getParameters(InteractionResponseElement interactionResponseElement)
          Returns user friendly Map representation of parameters in interaction response element
 

Method Detail

getParameters

public static Map getParameters(InteractionResponseElement interactionResponseElement)
Returns user friendly Map representation of parameters in interaction response element

Parameters:
interactionResponseElement - obtained from InteractionManager
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 the UserInteraction header in the message. Returns empty list if UserInteraction header 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 UserInteraction header in the message. Returns empty list if UserInteraction header is not included in the message