public static interface MessagePolicy.Target
The internal state of a Target indicates whether it applies to the request or response message of a MessageInfo and to which components it applies within the identified message.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(MessageInfo messageInfo)
Get the Object identified by the Target from the MessageInfo.
|
void |
put(MessageInfo messageInfo,
java.lang.Object data)
Put the Object into the MessageInfo at the location identified by the target.
|
void |
remove(MessageInfo messageInfo)
Remove the Object identified by the Target from the MessageInfo.
|
java.lang.Object get(MessageInfo messageInfo)
messageInfo
- The MessageInfo containing the request or response message from which the target is to be
obtained.void remove(MessageInfo messageInfo)
messageInfo
- The MessageInfo containing the request or response message from which the target is to be removed.void put(MessageInfo messageInfo, java.lang.Object data)
messageInfo
- The MessageInfo containing the request or response message into which the object is to be put.data
- The data to be put into the MessageInfo