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, updateConfigpublic MockFileAttachment(AttachmentConfig config, WsdlMockResponse mockResponse)
public MockFileAttachment(File file, boolean cache, WsdlMockResponse response) throws IOException
IOExceptionpublic Attachment.AttachmentType getAttachmentType()
getAttachmentType in interface AttachmentgetAttachmentType in class FileAttachment<WsdlMockResponse>public Attachment.AttachmentEncoding getEncoding()
public String getId()
Copyright © 2019. All Rights Reserved.