public class GenericMessageInfo extends Object implements MessageInfo
| Modifier and Type | Field and Description |
|---|---|
protected Object |
request |
protected Object |
response |
| Constructor and Description |
|---|
GenericMessageInfo() |
GenericMessageInfo(Object request,
Object response) |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,Object> |
getMap()
Get (a reference to) the Map object of this MessageInfo.
|
Object |
getRequestMessage()
Get the request message object from this MessageInfo.
|
Object |
getResponseMessage()
Get the response message object from this MessageInfo.
|
void |
setRequestMessage(Object request)
Set the request message object in this MessageInfo.
|
void |
setResponseMessage(Object response)
Set the response message object in this MessageInfo.
|
public Object getRequestMessage()
MessageInfoGet the request message object from this MessageInfo.
getRequestMessage in interface MessageInfoMessageInfo.getRequestMessage()public Object getResponseMessage()
MessageInfoGet the response message object from this MessageInfo.
getResponseMessage in interface MessageInfoMessageInfo.getResponseMessage()public void setRequestMessage(Object request)
MessageInfoSet the request message object in this MessageInfo.
setRequestMessage in interface MessageInforequest - An object representing the request message.MessageInfo.setRequestMessage(Object)public void setResponseMessage(Object response)
MessageInfoSet the response message object in this MessageInfo.
setResponseMessage in interface MessageInforesponse - An object representing the response message.MessageInfo.setResponseMessage(Object)public Map<Object,Object> getMap()
MessageInfoGet (a reference to) the Map object of this MessageInfo. Operations performed on the acquired Map must effect the Map within the MessageInfo.
getMap in interface MessageInfoCopyright © 2016 JBoss by Red Hat. All rights reserved.