com.sun.identity.liberty.ws.interaction
Class InteractionUtils
java.lang.Object
|
+--com.sun.identity.liberty.ws.interaction.InteractionUtils
- public class InteractionUtils
- extends java.lang.Object
Class that provides some utility methods that work with objects
related to interaction
Method Summary |
static java.util.List |
getInteractionLangauge(Message message)
Returns languages listed for the language attribute of the
UserInteraction header in the message. |
static java.util.Map |
getParameters(com.sun.identity.liberty.ws.interaction.jaxb.InteractionResponseElement interactionResponseElement)
Returns user friendly Map representation of parameters
in interaction response element |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteractionUtils
public InteractionUtils()
getParameters
public static java.util.Map getParameters(com.sun.identity.liberty.ws.interaction.jaxb.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 java.util.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
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.