public class HttpResponseMessageExchange extends AbstractMessageExchange<HttpRequestInterface<?>>
discardResponse, properties
Constructor and Description |
---|
HttpResponseMessageExchange(HttpRequestInterface<?> request) |
Modifier and Type | Method and Description |
---|---|
String |
getEndpoint() |
Operation |
getOperation() |
byte[] |
getRawRequestData() |
byte[] |
getRawResponseData() |
Attachment[] |
getRequestAttachments() |
Attachment[] |
getRequestAttachmentsForPart(String name) |
String |
getRequestContent() |
StringToStringsMap |
getRequestHeaders() |
HttpResponse |
getResponse() |
Attachment[] |
getResponseAttachments() |
Attachment[] |
getResponseAttachmentsForPart(String name) |
String |
getResponseContent() |
String |
getResponseContentAsXml() |
String |
getResponseContentType() |
StringToStringsMap |
getResponseHeaders() |
int |
getResponseStatusCode() |
long |
getTimestamp() |
long |
getTimeTaken() |
boolean |
hasRawData() |
boolean |
hasRequest(boolean ignoreEmpty) |
boolean |
hasResponse() |
boolean |
isDiscarded() |
void |
setResponse(HttpResponse response) |
addProperty, getMessages, getModelItem, getProperties, getProperty, getRequestContentAsXml, setMessages
public HttpResponseMessageExchange(HttpRequestInterface<?> request)
public String getEndpoint()
public String getRequestContent()
public String getResponseContentAsXml()
getResponseContentAsXml
in interface MessageExchange
getResponseContentAsXml
in class AbstractMessageExchange<HttpRequestInterface<?>>
public StringToStringsMap getRequestHeaders()
public Attachment[] getRequestAttachments()
public Attachment[] getResponseAttachments()
public String getResponseContent()
public HttpResponse getResponse()
public void setResponse(HttpResponse response)
public StringToStringsMap getResponseHeaders()
public long getTimeTaken()
public long getTimestamp()
public boolean isDiscarded()
public Operation getOperation()
public int getResponseStatusCode()
public String getResponseContentType()
public boolean hasRawData()
public byte[] getRawRequestData()
public byte[] getRawResponseData()
public Attachment[] getResponseAttachmentsForPart(String name)
public Attachment[] getRequestAttachmentsForPart(String name)
public boolean hasRequest(boolean ignoreEmpty)
public boolean hasResponse()
Copyright © 2019. All Rights Reserved.