Package org.opensaml.profile.action.impl
Class MockMessage
java.lang.Object
org.opensaml.profile.action.impl.MockMessage
Mock message class impl.
-
Field Summary
FieldsModifier and TypeFieldDescriptionMock message properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the encoded form of the message properties, which will be in the form "key1=value1&key2=value2&...&keyN=valueN", sorted ascending by key.Get the mock message properties.Convert a set into a sorted list.
-
Field Details
-
properties
Mock message properties.
-
-
Constructor Details
-
MockMessage
public MockMessage()Constructor.
-
-
Method Details
-
getProperties
Get the mock message properties.- Returns:
- properties
-
getEncoded
Get the encoded form of the message properties, which will be in the form "key1=value1&key2=value2&...&keyN=valueN", sorted ascending by key.- Returns:
- the encoded form of the message
-
sort
Convert a set into a sorted list.- Parameters:
messageKeys- set of keys- Returns:
- a sorted list
-