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