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()
MessageInfo
Get the request message object from this MessageInfo.
getRequestMessage
in interface MessageInfo
MessageInfo.getRequestMessage()
public Object getResponseMessage()
MessageInfo
Get the response message object from this MessageInfo.
getResponseMessage
in interface MessageInfo
MessageInfo.getResponseMessage()
public void setRequestMessage(Object request)
MessageInfo
Set the request message object in this MessageInfo.
setRequestMessage
in interface MessageInfo
request
- An object representing the request message.MessageInfo.setRequestMessage(Object)
public void setResponseMessage(Object response)
MessageInfo
Set the response message object in this MessageInfo.
setResponseMessage
in interface MessageInfo
response
- An object representing the response message.MessageInfo.setResponseMessage(Object)
public Map<Object,Object> getMap()
MessageInfo
Get (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 MessageInfo
Copyright © 2017 JBoss by Red Hat. All rights reserved.