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