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

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.MultipartMessageSupport

public class MultipartMessageSupport
extends java.lang.Object

Utility class for managing large MultiParts

Author:
ole.matzura

Constructor Summary
MultipartMessageSupport(javax.activation.DataSource dataSource, java.lang.String rootPartId, AbstractHttpOperation operation, boolean isRequest, boolean prettyPrint)
           
 
Method Summary
 Attachment[] getAttachments()
           
 Attachment[] getAttachmentsForPart(java.lang.String partName)
           
 Attachment getAttachmentWithContentId(java.lang.String contentId)
           
 java.lang.String getContentAsString()
           
 Attachment getRootPart()
           
 void setOperation(WsdlOperation operation)
           
 void setResponseContent(java.lang.String responseContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartMessageSupport

public MultipartMessageSupport(javax.activation.DataSource dataSource,
                               java.lang.String rootPartId,
                               AbstractHttpOperation operation,
                               boolean isRequest,
                               boolean prettyPrint)
                        throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException
Method Detail

setOperation

public void setOperation(WsdlOperation operation)

getAttachments

public Attachment[] getAttachments()

getRootPart

public Attachment getRootPart()

getAttachmentsForPart

public Attachment[] getAttachmentsForPart(java.lang.String partName)

getContentAsString

public java.lang.String getContentAsString()

setResponseContent

public void setResponseContent(java.lang.String responseContent)

getAttachmentWithContentId

public Attachment getAttachmentWithContentId(java.lang.String contentId)


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