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, toStringaddExternalDependency, cacheFileLocally, getConfig, getContentEncoding, getContentID, getData, getModelItem, getName, getPart, getSize, getUrl, isCached, release, reload, resolve, setContentID, setContentType, setData, setName, setPart, setUrl, updateConfigpublic InfiniteAttachment(AttachmentConfig config, AbstractHttpRequestInterface<?> request, long maxSize)
public InputStream getInputStream() throws IOException
getInputStream in interface AttachmentgetInputStream in class FileAttachment<AbstractHttpRequest<?>>IOExceptionpublic Attachment.AttachmentType getAttachmentType()
getAttachmentType in interface AttachmentgetAttachmentType in class RequestFileAttachmentpublic String getContentType()
getContentType in interface AttachmentgetContentType in class FileAttachment<AbstractHttpRequest<?>>Copyright © 2019. All Rights Reserved.