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, setTokenGenerator
getDecodedPathInfo, 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 AttachmentDownload
protected void setHeadersForAttachment(InputStream contents, String name, long contentLength, String contentType, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
setHeadersForAttachment
in class AttachmentDownload
protected String getUrlPrefix()
getUrlPrefix
in class AttachmentDownload
protected void getEventToPublish(Attachment attachment)
getEventToPublish
in class AttachmentDownload
Copyright © 2003–2017 Atlassian. All rights reserved.