public class InfiniteAttachment extends RequestFileAttachment
Attachment.AttachmentEncoding, Attachment.AttachmentType
Constructor and Description |
---|
InfiniteAttachment(AttachmentConfig config,
AbstractHttpRequestInterface<?> request,
long maxSize) |
Modifier and Type | Method and Description |
---|---|
Attachment.AttachmentType |
getAttachmentType() |
String |
getContentType() |
InputStream |
getInputStream() |
getEncoding, getId, toString
addExternalDependency, cacheFileLocally, getConfig, getContentEncoding, getContentID, getData, getModelItem, getName, getPart, getSize, getUrl, isCached, release, reload, resolve, setContentID, setContentType, setData, setName, setPart, setUrl, updateConfig
public InfiniteAttachment(AttachmentConfig config, AbstractHttpRequestInterface<?> request, long maxSize)
public InputStream getInputStream() throws IOException
getInputStream
in interface Attachment
getInputStream
in class FileAttachment<AbstractHttpRequest<?>>
IOException
public Attachment.AttachmentType getAttachmentType()
getAttachmentType
in interface Attachment
getAttachmentType
in class RequestFileAttachment
public String getContentType()
getContentType
in interface Attachment
getContentType
in class FileAttachment<AbstractHttpRequest<?>>
Copyright © 2019. All Rights Reserved.