public class ThumbnailDownload extends AttachmentDownload
ServeAfterTransactionDownload.StreamResultCallback| Modifier and Type | Field and Description |
|---|---|
static String |
THUMBNAIL_MIME_TYPE
Deprecated.
since 3.5. Use
Thumbnail.MimeType#PNG toString() instead, as we use PNG now thumbnails. |
| Constructor and Description |
|---|
ThumbnailDownload() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getEventToPublish(Attachment attachment) |
protected String |
getUrlPrefix() |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
protected void |
setHeadersForAttachment(InputStream contents,
String name,
long contentLength,
String contentType,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
getStreamForDownload, matches, setAttachmentSafeContentHeaderGuesser, setAttachmentUrlParser, setDownloadResourceManager, setHeadersForAttachment, setTokenGeneratorgetDecodedPathInfo, getStreamResultCallback, serveFile, setTransactionManager@Deprecated public static final String THUMBNAIL_MIME_TYPE
Thumbnail.MimeType#PNG toString() instead, as we use PNG now thumbnails.public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
setEventPublisher in class AttachmentDownloadprotected void setHeadersForAttachment(InputStream contents, String name, long contentLength, String contentType, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
setHeadersForAttachment in class AttachmentDownloadprotected String getUrlPrefix()
getUrlPrefix in class AttachmentDownloadprotected void getEventToPublish(Attachment attachment)
getEventToPublish in class AttachmentDownloadCopyright © 2003–2019 Atlassian. All rights reserved.