com.eviware.soapui.impl.wsdl.support
Class MockFileAttachment

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.support.FileAttachment
      extended by com.eviware.soapui.impl.wsdl.support.MockFileAttachment
All Implemented Interfaces:
WsdlAttachment, Attachment

public class MockFileAttachment
extends FileAttachment

Attachments cached locally for each request

Author:
Ole.Matzura

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.iface.Attachment
Attachment.AttachmentType
 
Constructor Summary
MockFileAttachment(com.eviware.soapui.config.AttachmentConfig config, WsdlMockResponse mockResponse)
           
MockFileAttachment(java.io.File file, boolean cache, WsdlMockResponse response)
           
 
Method Summary
 Attachment.AttachmentType getAttachmentType()
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.support.FileAttachment
getConfig, getContentID, getContentType, getInputStream, getName, getPart, getSize, getUrl, isCached, release, setContentID, setContentType, setPart, updateConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFileAttachment

public MockFileAttachment(com.eviware.soapui.config.AttachmentConfig config,
                          WsdlMockResponse mockResponse)

MockFileAttachment

public MockFileAttachment(java.io.File file,
                          boolean cache,
                          WsdlMockResponse response)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getAttachmentType

public Attachment.AttachmentType getAttachmentType()
Specified by:
getAttachmentType in interface Attachment
Specified by:
getAttachmentType in class FileAttachment


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