public class BaseResponse extends Object implements Response
| Constructor and Description | 
|---|
| BaseResponse(Request request,
            String responseContent,
            String responseContentType) | 
| Modifier and Type | Method and Description | 
|---|---|
| Attachment[] | getAttachments() | 
| Attachment[] | getAttachmentsForPart(String partName) | 
| String | getContentAsString() | 
| String | getContentAsXml() | 
| long | getContentLength() | 
| String | getContentType() | 
| String | getProperty(String name) | 
| String[] | getPropertyNames() | 
| byte[] | getRawRequestData() | 
| byte[] | getRawResponseData() | 
| Request | getRequest() | 
| String | getRequestContent() | 
| StringToStringsMap | getRequestHeaders() | 
| StringToStringsMap | getResponseHeaders() | 
| long | getTimestamp() | 
| long | getTimeTaken() | 
| void | setProperty(String name,
           String value) | 
public Request getRequest()
getRequest in interface Responsepublic String getRequestContent()
getRequestContent in interface Responsepublic long getTimeTaken()
getTimeTaken in interface Responsepublic Attachment[] getAttachments()
getAttachments in interface Responsepublic Attachment[] getAttachmentsForPart(String partName)
getAttachmentsForPart in interface Responsepublic StringToStringsMap getRequestHeaders()
getRequestHeaders in interface Responsepublic StringToStringsMap getResponseHeaders()
getResponseHeaders in interface Responsepublic long getTimestamp()
getTimestamp in interface Responsepublic byte[] getRawRequestData()
getRawRequestData in interface Responsepublic byte[] getRawResponseData()
getRawResponseData in interface Responsepublic String getContentAsXml()
getContentAsXml in interface Responsepublic String getProperty(String name)
getProperty in interface Responsepublic void setProperty(String name, String value)
setProperty in interface Responsepublic String[] getPropertyNames()
getPropertyNames in interface Responsepublic String getContentAsString()
getContentAsString in interface TypedContentpublic String getContentType()
getContentType in interface TypedContentpublic long getContentLength()
getContentLength in interface TypedContentCopyright © 2019. All Rights Reserved.