public class RestResponseMessageExchange extends AbstractRestMessageExchange<RestRequestInterface>
discardResponse, properties
Constructor and Description |
---|
RestResponseMessageExchange(RestRequestInterface request) |
Modifier and Type | Method and Description |
---|---|
String |
getEndpoint() |
Operation |
getOperation() |
byte[] |
getRawRequestData() |
byte[] |
getRawResponseData() |
Attachment[] |
getRequestAttachments() |
String |
getRequestContent() |
String |
getRequestContentAsXml() |
StringToStringsMap |
getRequestHeaders() |
RestResource |
getResource() |
HttpResponse |
getResponse() |
Attachment[] |
getResponseAttachments() |
String |
getResponseContent() |
String |
getResponseContentAsXml() |
String |
getResponseContentType() |
StringToStringsMap |
getResponseHeaders() |
int |
getResponseStatusCode() |
RestRequestInterface |
getRestRequest() |
long |
getTimestamp() |
long |
getTimeTaken() |
boolean |
hasRawData() |
boolean |
isDiscarded() |
void |
setRequestContent(String requestContent) |
void |
setResponse(HttpResponse response) |
getRequestAttachmentsForPart, getResponseAttachmentsForPart, hasRequest, hasResponse
addProperty, getMessages, getModelItem, getProperties, getProperty, setMessages
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getModelItem, getProperties, getProperty
public RestResponseMessageExchange(RestRequestInterface request)
public String getEndpoint()
public boolean hasRawData()
hasRawData
in interface MessageExchange
hasRawData
in class AbstractRestMessageExchange<RestRequestInterface>
public byte[] getRawRequestData()
getRawRequestData
in interface MessageExchange
getRawRequestData
in class AbstractRestMessageExchange<RestRequestInterface>
public byte[] getRawResponseData()
getRawResponseData
in interface MessageExchange
getRawResponseData
in class AbstractRestMessageExchange<RestRequestInterface>
public String getRequestContent()
public StringToStringsMap getRequestHeaders()
public Attachment[] getRequestAttachments()
public Attachment[] getResponseAttachments()
public String getResponseContent()
public HttpResponse getResponse()
public String getRequestContentAsXml()
getRequestContentAsXml
in interface MessageExchange
getRequestContentAsXml
in class AbstractMessageExchange<RestRequestInterface>
public void setResponse(HttpResponse response)
public String getResponseContentAsXml()
getResponseContentAsXml
in interface MessageExchange
getResponseContentAsXml
in class AbstractMessageExchange<RestRequestInterface>
public StringToStringsMap getResponseHeaders()
public long getTimeTaken()
public long getTimestamp()
public void setRequestContent(String requestContent)
public boolean isDiscarded()
public RestResource getResource()
public RestRequestInterface getRestRequest()
public Operation getOperation()
public int getResponseStatusCode()
public String getResponseContentType()
Copyright © 2019. All Rights Reserved.