com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments
Class MimeMessageResponse

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse
      extended by com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.MimeMessageResponse
All Implemented Interfaces:
HttpResponse, Response
Direct Known Subclasses:
WsdlMimeMessageResponse

public class MimeMessageResponse
extends BaseHttpResponse

WsdlMockResponse for a MimeResponse

Author:
ole.matzura

Constructor Summary
MimeMessageResponse(AbstractHttpRequestInterface<?> httpRequest, ExtendedHttpMethod httpMethod, java.lang.String requestContent, PropertyExpansionContext context)
           
 
Method Summary
 Attachment[] getAttachments()
           
 Attachment[] getAttachmentsForPart(java.lang.String partName)
           
 java.lang.String getContentAsString()
           
 long getContentLength()
           
protected  MultipartMessageSupport getMmSupport()
           
 java.lang.String getRequestContent()
           
 void setResponseContent(java.lang.String responseContent)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse
getContentAsXml, getContentType, getHttpVersion, getMethod, getProperty, getPropertyNames, getRawRequestData, getRawResponseData, getRequest, getRequestHeaders, getResponseHeaders, getSSLInfo, getStatusCode, getTimestamp, getTimeTaken, getURL, initHeaders, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeMessageResponse

public MimeMessageResponse(AbstractHttpRequestInterface<?> httpRequest,
                           ExtendedHttpMethod httpMethod,
                           java.lang.String requestContent,
                           PropertyExpansionContext context)
Method Detail

getMmSupport

protected MultipartMessageSupport getMmSupport()

getContentLength

public long getContentLength()

getRequestContent

public java.lang.String getRequestContent()
Specified by:
getRequestContent in interface HttpResponse
Specified by:
getRequestContent in interface Response
Overrides:
getRequestContent in class BaseHttpResponse

setResponseContent

public void setResponseContent(java.lang.String responseContent)

getAttachments

public Attachment[] getAttachments()
Specified by:
getAttachments in interface Response
Overrides:
getAttachments in class BaseHttpResponse

getAttachmentsForPart

public Attachment[] getAttachmentsForPart(java.lang.String partName)
Specified by:
getAttachmentsForPart in interface Response
Overrides:
getAttachmentsForPart in class BaseHttpResponse

getContentAsString

public java.lang.String getContentAsString()


Copyright © 2005-2009 eviware.com. All Rights Reserved.