public class AMFResponse extends AbstractResponse<AMFRequest>
| Modifier and Type | Field and Description |
|---|---|
static String |
AMF_POST_METHOD |
static String |
AMF_RAW_RESPONSE_BODY |
static String |
AMF_RESPONSE_ACTION_MESSAGE |
static String |
AMF_RESPONSE_HEADERS |
| Constructor and Description |
|---|
AMFResponse(AMFRequest request,
SubmitContext submitContext,
Object responseContent) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentAsString() |
long |
getContentLength() |
String |
getContentType() |
byte[] |
getRawRequestData() |
byte[] |
getRawResponseData() |
String |
getRequestContent() |
StringToStringsMap |
getRequestHeaders() |
StringToStringMap |
getResponseAMFHeaders() |
String |
getResponseContentXML() |
StringToStringsMap |
getResponseHeaders() |
long |
getTimestamp() |
long |
getTimeTaken() |
protected void |
initHeaders(ExtendedPostMethod postMethod) |
void |
setResponseContentXML(String responseContentXML) |
void |
setTimestamp(long timestamp) |
void |
setTimeTaken(long timeTaken) |
String |
toExternalForm(org.apache.http.Header header)
Returns a
String representation of the header. |
getAttachments, getAttachmentsForPart, getContentAsXml, getProperty, getPropertyNames, getRequest, setPropertypublic static final String AMF_POST_METHOD
public static final String AMF_RESPONSE_HEADERS
public static final String AMF_RESPONSE_ACTION_MESSAGE
public static final String AMF_RAW_RESPONSE_BODY
public AMFResponse(AMFRequest request, SubmitContext submitContext, Object responseContent) throws SQLException, ParserConfigurationException, TransformerConfigurationException, TransformerException
public String getContentAsString()
public String getContentType()
public long getContentLength()
getContentLength in interface TypedContentgetContentLength in class AbstractResponse<AMFRequest>public String getRequestContent()
public long getTimeTaken()
public long getTimestamp()
public void setTimeTaken(long timeTaken)
public void setTimestamp(long timestamp)
public void setResponseContentXML(String responseContentXML)
public String getResponseContentXML()
protected void initHeaders(ExtendedPostMethod postMethod)
public byte[] getRawRequestData()
getRawRequestData in interface ResponsegetRawRequestData in class AbstractResponse<AMFRequest>public byte[] getRawResponseData()
getRawResponseData in interface ResponsegetRawResponseData in class AbstractResponse<AMFRequest>public StringToStringsMap getRequestHeaders()
getRequestHeaders in interface ResponsegetRequestHeaders in class AbstractResponse<AMFRequest>public StringToStringsMap getResponseHeaders()
getResponseHeaders in interface ResponsegetResponseHeaders in class AbstractResponse<AMFRequest>public StringToStringMap getResponseAMFHeaders()
Copyright © 2019. All Rights Reserved.