public class RequestFileAttachment extends FileAttachment<AbstractHttpRequest<?>>
Attachment.AttachmentEncoding, Attachment.AttachmentType
Constructor and Description |
---|
RequestFileAttachment(AttachmentConfig config,
AbstractHttpRequestInterface<?> request) |
RequestFileAttachment(File file,
boolean cache,
AbstractHttpRequest<?> request) |
Modifier and Type | Method and Description |
---|---|
Attachment.AttachmentType |
getAttachmentType() |
Attachment.AttachmentEncoding |
getEncoding() |
String |
getId() |
String |
toString() |
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 RequestFileAttachment(AttachmentConfig config, AbstractHttpRequestInterface<?> request)
public RequestFileAttachment(File file, boolean cache, AbstractHttpRequest<?> request) throws IOException
IOException
public Attachment.AttachmentEncoding getEncoding()
public Attachment.AttachmentType getAttachmentType()
getAttachmentType
in interface Attachment
getAttachmentType
in class FileAttachment<AbstractHttpRequest<?>>
public String getId()
Copyright © 2019. All Rights Reserved.