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 |
---|---|
Object |
get(MessageInfo messageInfo)
Get the Object identified by the Target from the MessageInfo.
|
void |
put(MessageInfo messageInfo,
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.
|
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, 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 MessageInfoCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.