public class MockFileAttachment extends FileAttachment<WsdlMockResponse>
Attachment.AttachmentEncoding, Attachment.AttachmentType
Constructor and Description |
---|
MockFileAttachment(AttachmentConfig config,
WsdlMockResponse mockResponse) |
MockFileAttachment(File file,
boolean cache,
WsdlMockResponse response) |
Modifier and Type | Method and Description |
---|---|
Attachment.AttachmentType |
getAttachmentType() |
Attachment.AttachmentEncoding |
getEncoding() |
String |
getId() |
addExternalDependency, cacheFileLocally, getConfig, getContentEncoding, getContentID, getContentType, getData, getInputStream, getModelItem, getName, getPart, getSize, getUrl, isCached, release, reload, resolve, setContentID, setContentType, setData, setName, setPart, setUrl, updateConfig
public MockFileAttachment(AttachmentConfig config, WsdlMockResponse mockResponse)
public MockFileAttachment(File file, boolean cache, WsdlMockResponse response) throws IOException
IOException
public Attachment.AttachmentType getAttachmentType()
getAttachmentType
in interface Attachment
getAttachmentType
in class FileAttachment<WsdlMockResponse>
public Attachment.AttachmentEncoding getEncoding()
public String getId()
Copyright © 2019. All Rights Reserved.