public abstract class AbstractMessageExchange<T extends ModelItem> extends Object implements MessageExchange
Modifier and Type | Field and Description |
---|---|
protected boolean |
discardResponse |
protected StringToStringMap |
properties |
Constructor and Description |
---|
AbstractMessageExchange(T modelItem) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String name,
String value) |
String[] |
getMessages() |
T |
getModelItem() |
StringToStringMap |
getProperties() |
String |
getProperty(String name) |
String |
getRequestContentAsXml() |
String |
getResponseContentAsXml() |
void |
setMessages(String[] messages) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, getOperation, getRawRequestData, getRawResponseData, getRequestAttachments, getRequestAttachmentsForPart, getRequestContent, getRequestHeaders, getResponse, getResponseAttachments, getResponseAttachmentsForPart, getResponseContent, getResponseHeaders, getTimestamp, getTimeTaken, hasRawData, hasRequest, hasResponse, isDiscarded
protected StringToStringMap properties
protected boolean discardResponse
public AbstractMessageExchange(T modelItem)
public T getModelItem()
getModelItem
in interface MessageExchange
getModelItem
in interface ResultContainer
public String getRequestContentAsXml()
getRequestContentAsXml
in interface MessageExchange
public String getResponseContentAsXml()
getResponseContentAsXml
in interface MessageExchange
public String getProperty(String name)
getProperty
in interface MessageExchange
public StringToStringMap getProperties()
getProperties
in interface MessageExchange
public String[] getMessages()
getMessages
in interface MessageExchange
public void setMessages(String[] messages)
Copyright © 2019. All Rights Reserved.