public static interface MessagePolicy.Target
This interface is used to represent and perform message targeting. Targets are used by message authentication modules to operate on the corresponding content within messages.
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)
Get the Object identified by the Target from the MessageInfo.
messageInfo
- the MessageInfo containing the request or response message from which
the target is to be obtained.void put(MessageInfo messageInfo, Object data)
Put the Object into the MessageInfo at the location identified by the target.
messageInfo
- the MessageInfo containing the request or response message
into which the object is to be put.data
- void remove(MessageInfo messageInfo)
Remove the Object identified by the Target from the MessageInfo.
messageInfo
- the MessageInfo containing the request or response message from
which the target is to be removed.Copyright © 2016 JBoss by Red Hat. All rights reserved.